diff options
author | Mark Hung <marklh9@gmail.com> | 2019-02-23 21:45:08 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2019-02-24 00:52:02 +0100 |
commit | ecdcc847cd5d9b1370801d42b740bd616c475477 (patch) | |
tree | b5fde99852bef285646409d20e3c2854d60d5abc /avmedia | |
parent | d57af77047a88d3d4ae2edd4c91d001722d55eb2 (diff) |
tdf#123653 let gstreamer gst video overlay bypass events.
Change-Id: I4a10f1b8b0220c91c41bc9b3bf37024d6ccbaf04
Reviewed-on: https://gerrit.libreoffice.org/68243
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index 8469fd7544ff..70cc690ab56c 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -490,6 +490,7 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message ) { gst_video_overlay_set_window_handle( mpXOverlay, mnWindowID ); #ifndef AVMEDIA_GST_0_10 + gst_video_overlay_handle_events(mpXOverlay, 0); // Let the parent window handle events. if (maArea.Width > 0 && maArea.Height > 0) gst_video_overlay_set_render_rectangle(mpXOverlay, maArea.X, maArea.Y, maArea.Width, maArea.Height); #endif |