<div>Hi, <br>I'm writing glue layer to integrate gstreamer into android's media player service. When using playbin and decodebin2 to create pipeline automatically, I found ffdec_aac cannot be auto plugged. Then, I found in "gst-plugins-base/gst/playback/gstfactory.c", it said only rank larger than GST_RANK_MARGINAL can work. Unfortunately, ffdec_aac's rank is 0. Can anyone tell me why? (performance/statability)<br>
<br>If it's a mistake, I will fix it and submit a patch. <br><br>/* the filter function for selecting the elements we can use in<br> * autoplugging */<br>static gboolean<br>decoders_filter (GstElementFactory * factory)<br>
{<br> // ....<br><br> /* only select elements with autoplugging rank */<br> /*<br> rank = gst_plugin_feature_get_rank (GST_PLUGIN_FEATURE (factory));<br> if (rank < GST_RANK_MARGINAL)<br> return FALSE;<br> */<br>
return TRUE;<br>}<br><br><br clear="all"></div><div><br></div><div>-- <br></div><div>-- Prajnashi S<br></div>