[gst-devel] GstXOverlay/gtk+ issues

Florian Schmidt mista.tapas at gmx.net
Thu Feb 2 14:51:13 CET 2006


On Thu, 2 Feb 2006 18:51:50 +0100
Florian Schmidt <mista.tapas at gmx.net> wrote:

> Using the overlay seems to be straight forward, but i have the issue
> that sometimes after switching from fullscreen back to windowed (press f
> to toggle fullscreen), the screen simply stays black (which is the bg
> color of the GtkDrawingArea i overlay the video output into).

Ok, 

GTK_WIDGET_UNSET_FLAGS ((GtkWindow*)videoarea, GTK_DOUBLE_BUFFERED);

added at the right place seems to have done the trick. Maybe it would be
possible to leave the doublebuffering on and somehow grab the most
recent drawable after all resize/altering operations though. Dunno
whether it's worth the effort though.

Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org




More information about the gstreamer-devel mailing list