[gst-devel] Re: [gst-cvs] dolphy gstreamer: gstreamer/ gstreamer/gst/
David Schleef
ds at schleef.org
Tue Feb 17 14:39:34 CET 2004
On Tue, Feb 17, 2004 at 09:56:59PM +0100, Julien MOUTTE wrote:
> I have implemented caps renegotiation on expose in ximagesink. Because
> if the video window has not been touched there's no configure event and
> ximagesink needs to tell videoscale what size it needs.
>
> I tried implementing something like putting the window geometry in the
> caps from the _getcaps function but that makes caps nego to fail...
>
> So i just made that on expose (sent by the application through
> gst_x_overlay_expose) ximagesink updates window size even if the
> pipeline is not playing and renegotiates if needed. As you can guess
> expose events might arrive during caps negotiation.. I m fine with
> gst_pad_try_set_caps returning REFUSED but i don't like the big warning
> it pukes on the output..
Please check the GST_PAD_NEGOTIATING flag on the pad first.
dave...
More information about the gstreamer-devel
mailing list