summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-24 00:20:45 +0100
committersfan5 <sfan5@live.de>2023-11-26 18:19:11 +0100
commita3f505d4cb2ca70071bbe849d9cf5859802ff608 (patch)
tree0daa1c60cf1b9a664cb7e54d230a0764eac2c59f /video
parent02aa4f5e288be0f932f859c7bc0b878b35710cc8 (diff)
downloadmpv-a3f505d4cb2ca70071bbe849d9cf5859802ff608.tar.bz2
mpv-a3f505d4cb2ca70071bbe849d9cf5859802ff608.tar.xz
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.
Diffstat (limited to 'video')
-rw-r--r--video/vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/vaapi.c b/video/vaapi.c
index 7997da2b2f..b1b9a518ea 100644
--- a/video/vaapi.c
+++ b/video/vaapi.c
@@ -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)