aboutsummaryrefslogtreecommitdiff
path: root/src/encoder/video/vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder/video/vaapi.c')
-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) {