[Spice-commits] src/channel-display-gst.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 29 11:56:33 UTC 2018

 src/channel-display-gst.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 717f29cd7e6dc9e52fb872ff7cd2372e9cf1c04a
Author: Snir Sheriber <ssheribe at redhat.com>
Date:   Wed May 16 17:35:59 2018 +0300

    Gstreamer: Don't let overlay to handle windowing system events
    In case glimagesink is used (up to playbin) window system events
    do not propagate to the widget. This patch tells the overlay not
    to try handle window system events.
    This could happen when the only decoder available is nvdec.
    Signed-off-by: Snir Sheriber <ssheribe at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
index c8a2ad0..093258e 100644
--- a/src/channel-display-gst.c
+++ b/src/channel-display-gst.c
@@ -318,6 +318,7 @@ static gboolean handle_pipeline_message(GstBus *bus, GstMessage *msg, gpointer v
             if (decoder->win_handle != 0) {
                 overlay = GST_VIDEO_OVERLAY(GST_MESSAGE_SRC(msg));
                 gst_video_overlay_set_window_handle(overlay, decoder->win_handle);
+                gst_video_overlay_handle_events(overlay, false);

More information about the Spice-commits mailing list