<div>Hi, <br>I&#39;m writing glue layer to integrate gstreamer into android&#39;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 &quot;gst-plugins-base/gst/playback/gstfactory.c&quot;, it said only rank larger than GST_RANK_MARGINAL can work. Unfortunately, ffdec_aac&#39;s rank is 0. Can anyone tell me why? (performance/statability)<br>
<br>If it&#39;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 &lt; 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>