Changing video scaling while playing?

Sebastian Dröge sebastian at centricular.com
Fri Jan 17 09:07:51 PST 2014


On Fr, 2014-01-17 at 17:32 +0100, Eric Trousset wrote:
> Hi,
> I am already resizing my video stream to a custom size using a capsfilter element when building the pipeline.
> 
> But now I need to be able to change the size without have to rebuild the whole pipeline.
> 
> What would be the best way to do it?

Change the caps on the capsfilter element. That's going to trigger
renegotiation, which will cause videoscale (or anything else) scale the
video differently.

-- 
Sebastian Dröge, 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: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140117/dd60d2f6/attachment.pgp>


More information about the gstreamer-devel mailing list