From 206f203ab4052a6972d5eba84eb6013b88a87bb1 Mon Sep 17 00:00:00 2001 From: Alexandr Date: Thu, 19 Nov 2015 09:41:49 +0800 Subject: x11_screen driver context member initialization for X11 output https://bugs.freedesktop.org/show_bug.cgi?id=61603 Signed-off-by: Alexandr --- va/x11/va_x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c index c0dc69a..a8db4c8 100644 --- a/va/x11/va_x11.c +++ b/va/x11/va_x11.c @@ -171,6 +171,7 @@ VADisplay vaGetDisplay ( pDisplayContext->vadpy_magic = VA_DISPLAY_MAGIC; pDriverContext->native_dpy = (void *)native_dpy; + pDriverContext->x11_screen = XDefaultScreen(native_dpy); pDriverContext->display_type = VA_DISPLAY_X11; pDisplayContext->pDriverContext = pDriverContext; pDisplayContext->vaIsValid = va_DisplayContextIsValid; -- cgit v1.2.1