Change the ranking of an element
Tim Müller
tim at centricular.com
Mon Nov 9 07:26:27 PST 2015
On Mon, 2015-11-09 at 16:01 +0100, Thomas Scheuermann wrote:
Hi Thomas,
> is it possible to change the ranking of an element that it only
> affects a single pipeline?
> I want to create pipelines with decodebin and want to control that
> for some pipelines special elements are used or not.
Yes and no.
You can change the rank for an element using
gst_plugin_feature_set_rank(), but that affects the entire
application/process then.
You can use decodebin's "autoplug-*" signals to determine on a case-by-
case basis which elements should be picked. So you can sort that based
on your own preferences, or even provide elements that are not ranked.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list