aboutsummaryrefslogtreecommitdiff
path: root/src/encoder
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-31 03:41:58 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-31 03:41:58 +0200
commit33251a4799ea57c07b66b9cc1676cf9d377571ba (patch)
treebadf91318c734862aaa93f03a7947d4dbd35f282 /src/encoder
parentc31f7249925dbebe3492c12350bb7a1be42824c0 (diff)
Disable vaapi info debug log
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/video/vaapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encoder/video/vaapi.c b/src/encoder/video/vaapi.c
index a6c45f9..39531de 100644
--- a/src/encoder/video/vaapi.c
+++ b/src/encoder/video/vaapi.c
@@ -244,6 +244,8 @@ static bool get_supported_video_codecs(VADisplay va_dpy, gsr_supported_video_cod
bool success = false;
VAProfile *profile_list = NULL;
+ vaSetInfoCallback(va_dpy, NULL, NULL);
+
int va_major = 0;
int va_minor = 0;
if(vaInitialize(va_dpy, &va_major, &va_minor) != VA_STATUS_SUCCESS) {