set a new window to glimagesink

stic at stic at
Thu Oct 29 13:52:57 PDT 2015

I can't find a way to make the video appear to the new window (this is a surface as this is on Android).
Do I have to block pad or need to do something more specific before changing the window handler ?
I tried to block pad but I am not sure I did it properly and I was not able to display video again to the new window.

----- Mail original -----
De: "Sebastian Dröge" <sebastian at>
À: "Discussion of the development of and with GStreamer" <gstreamer-devel at>
Envoyé: Jeudi 29 Octobre 2015 16:41:55
Objet: Re: set a new window to glimagesink

On Do, 2015-10-29 at 16:35 +0100, stic at wrote:
> Hi,
> Is there a way the set a new window to a glimagesink element ?
> Once the pipeline is created I can display video by using
> gst_video_overlay_set_window_handle on the glimagesink.
> But while the pipeline is running I am trying to change to another
> window by using again gst_video_overlay_set_window_handle with the
> new window, but it doesn't seem to work, the screen becomes black.
> Do I have to block pads to do this or something else ??

You can currently only change the window in NULL and READY states.

Sebastian Dröge, Centricular Ltd ·

gstreamer-devel mailing list
gstreamer-devel at

More information about the gstreamer-devel mailing list