Problems with GstVideoOverlay when resizing QWidget

Peter Randeu peter.randeu at spintower.eu
Mon Nov 25 00:10:15 PST 2013


Am Freitag, 22. November 2013, 19:49:39 schrieb Sebastian Dröge:
> On Do, 2013-11-14 at 13:26 +0100, Peter Randeu wrote:
> > I have a xvimagesink that is bound to a QWidget with
> > gst_video_overlay_set_window_handle(). Since GStreamer version 1.2 the
> > video displayed on the QWidget is not resized together with the QWidget
> > anymore. I have to call gst_video_overlay_set_render_rectangle() to
> > adjust the video size every time the QWidget is resized.
> > 
> > Is there a way to get the old, automatic, pre 1.2 behavior back?
> 
> This sounds like a bug, please report it at http://bugzilla.gnome.org
> against GStreamer. There shouldn't be any incompatible behaviour changes
> between 1.0 and 1.2 in xvimagesink.

https://bugzilla.gnome.org/show_bug.cgi?id=715138

> Do you have handle-events enabled on xvimagesink (enabling it is the
> default)? Is xvimagesink getting the resize events (you can see that
> from the logs) when resizing the window?

What to look/grep for?

If I use ximagesink instead of xvimagesink, it works like expected and I can 
see caps events in the debug ouput when I resize the window. If I use 
xvimagesink, there a no caps events. handle-events is set to true.

Peter



More information about the gstreamer-devel mailing list