<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&nbsp;<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&nbsp;615160</a>&nbsp;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,&nbsp;</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 &lt;t.i.m@zen.co.uk&gt;<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&nbsp;:</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>&gt; when I create a pipeline to read a video, I use decodebin element. But<br>&gt; I have seen that for a specific type of file (using -v flag in command<br>&gt; line), it uses a plugin that causes errors in my application. Is it<br>&gt; possible to tell
 gstreamer not to use a specific decoder ? If yes, how<br>&gt; can this be done?<br>&gt; Basically, I have<br>&gt; gst-launch filesrc location=myvideo ! decodebin ! ... ! directdrawsink<br>&gt; -v<br>&gt; -&gt;uses mpegtsdemux ! mpegvideoparse ! ffdec_mpegvideo , but this reads<br>&gt; erroneous data (framerate for ex is not the one embedded in file)<br>&gt; If I create following pipeline:<br>&gt; gst-launch filesrc location=myvideo ! mpegtsdemux !<br>&gt; ffdec_mpegvideo ! ... ! directdrawsink -v, then this is OK<br>&gt; Is it possible to tell gstreamer to avoid using mpegvideoparse plugin<br>&gt; 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>&nbsp; &nbsp; 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>&nbsp; -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>