mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
libs: window: egl: pass native va display
When creating a GstVaapiWindowEGL, it also creates native window by its own native display. It should pass the native display, either X11 or Wayland. https://bugzilla.gnome.org/show_bug.cgi?id=768266
This commit is contained in:
parent
185da3d1a4
commit
313860dea4
1 changed files with 2 additions and 1 deletions
|
@ -228,7 +228,8 @@ gst_vaapi_window_egl_create (GstVaapiWindowEGL * window,
|
|||
|
||||
g_return_val_if_fail (native_dpy_class != NULL, FALSE);
|
||||
|
||||
window->window = native_dpy_class->create_window (GST_VAAPI_DISPLAY (display),
|
||||
window->window =
|
||||
native_dpy_class->create_window (GST_VAAPI_DISPLAY (display->display),
|
||||
GST_VAAPI_ID_INVALID, *width, *height);
|
||||
if (!window->window)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue