[Spice-devel] [PATCH spice-gtk] Gstreamer: Don't let overlay to handle windowing system events

Frediano Ziglio fziglio at redhat.com
Wed May 16 14:16:20 UTC 2018


> 
> 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.
> 

Which event? Did you had any issue? Kind of moving mouse/pressing keyboard
I suppose

> Signed-off-by: Snir Sheriber <ssheribe at redhat.com>
> ---
>  src/channel-display-gst.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
> index 3d0827a..9bc9f50 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);

Style: space before arguments.

>              }
>          }
>          break;

Frediano


More information about the Spice-devel mailing list