[gst-devel] XOverlay behaviour change ?

Stefan Kost ensonic at hora-obscura.de
Wed May 12 17:49:48 CEST 2010


Olivier Aubert wrote:
> Hello
>
> In my python/gtk/gstreamer based application (www.advene.org), I embed a
> xvimagesink (on linux with gtk 2.20)/ximagesink (on macos x with gtk
> 2.18) in a gtk.Socket, calling set_xwindow_id after the gtk.Socket is
> realized. 
>   
You should call set_xwindow_id() in reply to the "prepare-xwindow-id"
element message on the gstreamer bus. Anything else is sheer luck :) The
GstXOverlay docs have examples.

Stefan
> It worked alright with gst-plugins-good 0.10.21. However, since the
> upgrade to 0.10.22, the behaviour changed: the image is not displayed
> until the window has received an expose event (basically, I hide and
> show the window).
>   
> I had a quick look at the git logs, but did not find anything that
> seemed relevant. Has there been a change in the xoverlay API that I
> should be aware of ? And if not, are there any hints to help me debug
> this issue?
>
> Thanks
> Olivier
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list