vaapi: bump vaapi info callback to verbose messages

The info provided for libva might be useful. Specifically on Windows it
seems to not use the error callback for what should be logged as error.

[   0.080][v][vaapi] libva: VA-API version 1.20.0
[   0.080][v][vaapi] libva: Trying to open <path>/vaon12_drv_video.dll
[   0.080][v][vaapi] libva: va_openDriver() returns -1
[   0.080][e][vaapi] Failed to initialize VAAPI: unknown libva error

As we can see only the "unknown" error is printed to the error callback
and important information is printed on the info callback. Print it to
verbose log to make it easier to find.
This commit is contained in:
Kacper Michajłow 2023-11-24 00:20:45 +01:00 committed by sfan5
parent 02aa4f5e28
commit a3f505d4cb
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ static void va_error_callback(void *context, const char *msg)
static void va_info_callback(void *context, const char *msg)
{
va_message_callback(context, msg, MSGL_DEBUG);
va_message_callback(context, msg, MSGL_V);
}
static void free_device_ref(struct AVHWDeviceContext *hwctx)