<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Ok thanks for the answer,</div><div>I've created <span class="Apple-style-span" style="font-family: 'Bitstream Vera Sans', 'Luxi Sans', 'Lucida Grande', 'Trebuchet MS', helvetica, verdana, arial, sans-serif; color: rgb(51, 51, 51); "><a href="https://bugzilla.gnome.org/show_bug.cgi?id=615160" style="color: rgb(51, 51, 51); ">Bug 615160</a> with details for how to reproduce the problem.</span></div><div><span class="Apple-style-span" style="font-family: 'Bitstream Vera Sans', 'Luxi Sans', 'Lucida Grande', 'Trebuchet MS', helvetica, verdana, arial, sans-serif; color: rgb(51, 51, 51); ">Regards, </span></div><div><span class="Apple-style-span" style="font-family: 'Bitstream Vera Sans', 'Luxi Sans', 'Lucida Grande', 'Trebuchet MS', helvetica, verdana, arial, sans-serif;
color: rgb(51, 51, 51); ">Al</span></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Tim-Philipp Müller <t.i.m@zen.co.uk><br><b><span style="font-weight: bold;">À :</span></b> gstreamer-devel@lists.sourceforge.net<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Mar 6 avril 2010, 22 h 48 min 49 s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [gst-devel] unrank a plugin?<br></font><br>On Tue, 2010-04-06 at 15:48 +0000, Albert Costa wrote:<br><br>Hi,<br><br>> when I create a pipeline to read a video, I use decodebin element. But<br>> I have seen that for a specific type of file (using -v flag in command<br>> line), it uses a plugin that causes errors in my application. Is it<br>> possible to tell
gstreamer not to use a specific decoder ? If yes, how<br>> can this be done?<br>> Basically, I have<br>> gst-launch filesrc location=myvideo ! decodebin ! ... ! directdrawsink<br>> -v<br>> ->uses mpegtsdemux ! mpegvideoparse ! ffdec_mpegvideo , but this reads<br>> erroneous data (framerate for ex is not the one embedded in file)<br>> If I create following pipeline:<br>> gst-launch filesrc location=myvideo ! mpegtsdemux !<br>> ffdec_mpegvideo ! ... ! directdrawsink -v, then this is OK<br>> Is it possible to tell gstreamer to avoid using mpegvideoparse plugin<br>> with decodebin ?<br><br>It sounds like there's a serious bug somewhere that we should fix, have<br>you filed a bug in bugzilla yet?<br><br>Something like this may do the trick:<br><br>feature = gst_default_registry_find_feature ("mpegvideoparse",<br> GST_TYPE_ELEMENT_FACTORY);<br><br>gst_plugin_feature_set_rank (feature, GST_RANK_NONE);<br><br>but
generally it's not a good idea to mess with the ranks like that.<br><br> Cheers<br> -Tim<br><br><br><br>------------------------------------------------------------------------------<br>Download Intel® Parallel Studio Eval<br>Try the new software tools for yourself. Speed compiling, find bugs<br>proactively, and fine-tune applications for parallel performance.<br>See why Intel Parallel Studio got high marks during beta.<br><a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></div></div><div
style="position:fixed"></div>
</div><br>
</body></html>