Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Without this patch, I get http://pastebin.com/JJ9spwqH
- diff --git a/gst/vaapi/gstvaapisink.c b/gst/vaapi/gstvaapisink.c
- index b148cac..b603782 100644
- --- a/gst/vaapi/gstvaapisink.c
- +++ b/gst/vaapi/gstvaapisink.c
- @@ -438,7 +434,7 @@ gst_vaapisink_x11_pre_start_event_thread (GstVaapiSink * sink)
- GstVaapiDisplayX11 *const display =
- GST_VAAPI_DISPLAY_X11 (GST_VAAPI_PLUGIN_BASE_DISPLAY (sink));
- static const int x11_event_mask = (KeyPressMask | KeyReleaseMask |
- - ButtonPressMask | ButtonReleaseMask | PointerMotionMask |
- + //ButtonPressMask | ButtonReleaseMask | PointerMotionMask |
- ExposureMask | StructureNotifyMask);
- Also: Even when calling gst_video_overlay_set_window_handle, vaapisink creates its own X11 display. Specifically gst_vaapi_create_display is called, and not gst_vaapi_create_display_from_handle. So even though we pass an X11window handle in, vaapisink will create its own X11 display.. not sure this works.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement