A way to prioritize element in addition to rank?

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Feb 5 01:37:19 PST 2013


On Tue, 2013-02-05 at 11:01 +0530, Rahool Paliwal wrote:

> I am working on gst-0.10.36 I have my own vp8 decoder element which is
> of primary rank.
> 
> I want standard gst players to pick up my element instead of the
> vp8dec (a bad plugin).

It's not really a bad plugin, it's been moved to -good in 1.0.

> But they all pick vp8dec since it too is of primary rank.
> 
> Is there any other way/environment variable/config file to make sure
> my element is chosen?

Just give your element a rank of PRIMARY + 10 or so, you don't have to
stick to the pre-made enums.

Cheers
 -Tim




More information about the gstreamer-devel mailing list