> Hi, I could be wrong but it really seems the usual xoverlay+client<br>
> side windows bug.<br>
> Please take a look at<br>
> <a href="https://bugzilla.gnome.org/show_bug.cgi?id=599885">https://bugzilla.gnome.org/show_bug.cgi?id=599885</a>, there is an<br>
> exhaustive explanation of the reason it happens and how to properly<br>
> solve it.<br>
> <br>
> Hope this helps,<br>
> Filippo<br>
<br>Thanks for putting me onto this Filippo, this is what my first problem must be...<br><br>> I've since changed how we use xoverlay in our application<br>
> (<a href="http://svn.sat.qc.ca/trac/miville" target="_blank">http://svn.sat.qc.ca/trac/miville</a>). Instead of handling the<br>
> expose-event, I listen on the pipeline's bus for the<br>
> "prepare-xwindow-id" message and then call<br>
> gst_x_overlay_set_xwindow_id on the window. Additionally, I added a<br>
> callback for the window's destroy-event which quits the GMainLoop.<br>
> I'll try and do a new post soon with these details, but I'd appreciate<br>
> any feedback from the gst community on my approach.<br>
<br>
> The updated example lives at:<br>
> <a href="http://svn.sat.qc.ca/miville/inhouse/prototypes/gstreamer/cpp/fullscreen/test.c">http://svn.sat.qc.ca/miville/inhouse/prototypes/gstreamer/cpp/fullscreen/test.c</a><br>
<br>
> Best,<br>
> Tristan<br><br>Thanks Tristan, you're blog was absolutely invaluable for me getting my head around the X Overlays on GTK+. I'm a newbie to GTK, Gstreamer, Glib etc. (& C for anything more than simple engineering maths coursework) so I needed something like that to quickly introduce me!<br>
<br>It seems the exit error I was getting was because I was using the "gtk_main" loop function instead of the "g_main_loop_run" function. I had set a destroy event but I guess exiting the gtk_main loop does not cleanup the overlays etc. I will also try and switch to "the prepare-xwindow-id" method as that's what was suggested in the xoverlay documentation.<br>
<br>Thank you both for the quick help! Maybe now I can get on and actually make something useful!<br><br>Cheers,<br>Nick<br>