Code:
~$ xbmc
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0
libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/i965_drv_video.so
libva: va_openDriver() returns 0in libva the line looks like this:
Code:
va_infoMessage("Trying to open %s\n", driver_path);Code:
void va_infoMessage(const char *msg, ...)
{
va_list args;
fprintf(stderr, "libva: ");
va_start(args, msg);
vfprintf(stderr, msg, args);
va_end(args);
}In xbmc the initalization function is called like this.
Code:
VADisplay disp;
disp = vaGetDisplayGLX(g_Windowing.GetDisplay());
int major_version, minor_version;
VAStatus res = vaInitialize(disp, &major_version, &minor_version);
if(res != VA_STATUS_SUCCESS)
{
CLog::Log(LOGERROR, "VAAPI - unable to initialize display %d - %s", res, vaErrorStr(res));
return display;
}
CLog::Log(LOGDEBUG, "VAAPI - initialize version %d.%d", major_version, minor_version);
display = CDisplayPtr(new CDisplay(disp));
display_global = display;
return display;Is there a way to completely redirect these messages to the xbmc log file ? How to do this properly ?
If not is there a way to completely disable them ? After all we already haver a debug info logged about the status of the opening and the version of libva.
Thanks,
Alan

Search
Help