mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
libs: pixmap: Fix a pixmap creation crash.
We use GST_VAAPI_OBJECT_NATIVE_DISPLAY with wrong parameter for x11 pixmap creation, which causes crash if we run the internal test case of: test-decode --pixmap
This commit is contained in:
parent
3355cd4691
commit
c05ce44815
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ gst_vaapi_pixmap_x11_create (GstVaapiPixmap * pixmap)
|
|||
{
|
||||
GstVaapiDisplayX11 *const display =
|
||||
GST_VAAPI_DISPLAY_X11 (GST_VAAPI_OBJECT_DISPLAY (pixmap));
|
||||
Display *const dpy = GST_VAAPI_OBJECT_NATIVE_DISPLAY (display);
|
||||
Display *const dpy = GST_VAAPI_DISPLAY_NATIVE (display);
|
||||
Window rootwin;
|
||||
Pixmap xid;
|
||||
guint depth;
|
||||
|
|
Loading…
Reference in a new issue