capsfilter as an element?

Olivier Crête olivier.crete at collabora.com
Mon Jan 21 14:44:14 PST 2013


On Mon, 2013-01-21 at 15:18 -0500, Stirling Westrup wrote:
> Is there any reason I shouldn't just link a capsfilter into a pipeline
> as a normal element, and then use g_object_set to set its caps?

capsfilter is a normal element, and it is perfectly fine to use it as
such. Just be careful about changing the value at run-time, as you can
cause not-negotiated errors since upstream renegotiation may or may not
work depending on what elements you have in your pipeline.

-- 
Olivier Crête
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list