Problems with GstVideoOverlay when resizing QWidget

Sebastian Dröge sebastian at centricular.com
Fri Nov 22 10:49:39 PST 2013


On Do, 2013-11-14 at 13:26 +0100, Peter Randeu wrote:
> Hello everyone,
> 
> 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.

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?

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131122/60af5b7f/attachment.pgp>


More information about the gstreamer-devel mailing list