[gst-devel] XOverlay behaviour change ?

Olivier Aubert olivier.aubert at liris.cnrs.fr
Thu May 27 23:19:27 CEST 2010


Hello

A quick followup on this issue: I managed to find a workaround by
calling sink.expose() (mapping of gst_x_overlay_expose) just after
calling set_xwindow_id. 

I still do not fully understand the issue though, since I did not manage
to get a minimal application demonstrating it, it runs with no problem.
Had there not been a confirmation of the same issue from Tristan
Matthews, I would think it was only a bug on my side. I will try to find
some time to get a test application exhibiting the issue.

As for Tim's questions: yes, it can be a -good upgrade (from .28 to .29)
that is the cause, since it was upgraded at the same time as -base. But
I am fairly sure it is not a gtk upgrade, since I run 2.20 on linux and
2.18 on MacOSX, and both showed the issue after upgrading gstreamer.

Regards,
Olivier

On Thu, 2010-05-13 at 15:24 +0100, Tim-Philipp Müller wrote:
> On Wed, 2010-05-12 at 16:03 +0200, Olivier Aubert wrote:
> 
> > 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. 
> > 
> > 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?
> 
> Do you have a minimal test application that demonstrates the problem?
> 
> Are you sure it's the -good upgrade that broke things, and not a Gtk+
> upgrade or a gst-plugins-base upgrade (esp. given that
> ximagesink/xvimagesink/GstXOverlay are in -base)?
> 
> Cheers
>  -Tim
> 
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> 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