diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-31 03:41:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-31 03:41:58 +0200 |
commit | 33251a4799ea57c07b66b9cc1676cf9d377571ba (patch) | |
tree | badf91318c734862aaa93f03a7947d4dbd35f282 | |
parent | c31f7249925dbebe3492c12350bb7a1be42824c0 (diff) |
Disable vaapi info debug log
-rw-r--r-- | src/encoder/video/vaapi.c | 2 |
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) { |