[gst-devel] How can I temporarily disable element loaded by playbin2?

Stray alistair.stray at yahoo.com
Wed Jul 21 13:12:06 CEST 2010


> Edward Hervey wrote:
> > 
> >> So, I suspect, that ffdec_mp3float is the culprit. 
> > 
> >   * ffdec_mp3float isn't supported by our version of gst-ffmpeg (aka :
> > you're not going to get any support if you see issues with it). With
> > ffdec_mp3 we *could* maybe give you some assistance, but...
> >   * ... you should use one of the other mp3 decoders available on linux
> > (aka : mad).
> > 
> 
> Unfortunately, I'm developing the player for windows. I use OSSBuild
> (GStreamer-winbuild) for it.
> I use playbin2, it chooses plugins on its own, and I cannot affect it.
> -- 
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-can-I-temporarily-disable-element-loaded-by-playbin2-tp2295302p2296674.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.

Couldn't you change the rank of the factory you want it to select
instead of what it is selecting. I've managed to do this in python on
linux with
mpfactory=gst.element_factory_find('ffdec_mp3')
       if mpfactory:
           mpfactory.set_rank(gst.RANK_PRIMARY + 1)







More information about the gstreamer-devel mailing list