[gst-devel] X Errors when overlaying xvimagesink on GTK+ windows/widgets
Tristan Matthews
tristan at sat.qc.ca
Thu Dec 3 17:32:59 CET 2009
Hi Nick,
I've since changed how we use xoverlay in our application
(http://svn.sat.qc.ca/trac/miville). Instead of handling the
expose-event, I listen on the pipeline's bus for the
"prepare-xwindow-id" message and then call
gst_x_overlay_set_xwindow_id on the window. Additionally, I added a
callback for the window's destroy-event which quits the GMainLoop.
I'll try and do a new post soon with these details, but I'd appreciate
any feedback from the gst community on my approach.
The updated example lives at:
http://svn.sat.qc.ca/miville/inhouse/prototypes/gstreamer/cpp/fullscreen/test.c
Best,
Tristan
2009/12/3 Filippo Argiolas <filippo.argiolas at gmail.com>:
> On Thu, Dec 3, 2009 at 3:41 PM, Nick Daniels
> <somebodys.home.is at gmail.com> wrote:
>> Hi,
>>
>>> When running my test program I get the following situations with the
>>> associated errors:
>
> Hi, I could be wrong but it really seems the usual xoverlay+client
> side windows bug.
> Please take a look at
> https://bugzilla.gnome.org/show_bug.cgi?id=599885, there is an
> exhaustive explanation of the reason it happens and how to properly
> solve it.
>
> Hope this helps,
> Filippo
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
--
Tristan Matthews
email: tristan at sat.qc.ca
web: http://tristanswork.blogspot.com
More information about the gstreamer-devel
mailing list