[gst-devel] Re : unrank a plugin?
Albert Costa
costa_albert at yahoo.fr
Thu Apr 8 13:24:35 CEST 2010
Ok thanks for the answer,
I've created Bug 615160 with details for how to reproduce the problem.
Regards,
Al
________________________________
De : Tim-Philipp Müller <t.i.m at zen.co.uk>
À : gstreamer-devel at lists.sourceforge.net
Envoyé le : Mar 6 avril 2010, 22 h 48 min 49 s
Objet : Re: [gst-devel] unrank a plugin?
On Tue, 2010-04-06 at 15:48 +0000, Albert Costa wrote:
Hi,
> when I create a pipeline to read a video, I use decodebin element. But
> I have seen that for a specific type of file (using -v flag in command
> line), it uses a plugin that causes errors in my application. Is it
> possible to tell gstreamer not to use a specific decoder ? If yes, how
> can this be done?
> Basically, I have
> gst-launch filesrc location=myvideo ! decodebin ! ... ! directdrawsink
> -v
> ->uses mpegtsdemux ! mpegvideoparse ! ffdec_mpegvideo , but this reads
> erroneous data (framerate for ex is not the one embedded in file)
> If I create following pipeline:
> gst-launch filesrc location=myvideo ! mpegtsdemux !
> ffdec_mpegvideo ! ... ! directdrawsink -v, then this is OK
> Is it possible to tell gstreamer to avoid using mpegvideoparse plugin
> with decodebin ?
It sounds like there's a serious bug somewhere that we should fix, have
you filed a bug in bugzilla yet?
Something like this may do the trick:
feature = gst_default_registry_find_feature ("mpegvideoparse",
GST_TYPE_ELEMENT_FACTORY);
gst_plugin_feature_set_rank (feature, GST_RANK_NONE);
but generally it's not a good idea to mess with the ranks like that.
Cheers
-Tim
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100408/97c3cd4a/attachment.htm>
More information about the gstreamer-devel
mailing list