<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">Le mar. 8 mai 2018 10:27, rland <<a href="mailto:rlandjon@gmail.com">rlandjon@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,When I ran gstreamer on android, I had a problem,
Most devices only provide 1 HW videodecoder + 1 HW 
audiodecoder resource,In other words, a/v decoder 
that is automatically loaded in playbin2/playbin3 must 
be kept in a single instance.

Such as,when play an MKV file, it has 1 video,4 audio tracks, 4  subtitles, 
playbin2 seems  to build a chain for each track all the way,and each chain 
request a decoder resources, regardless of whether we  really  play it  -(
so,i get  media_codec.configure error while request second audio decoder instance.

I have noticed that playbin2 has a current-audio/current-video/current-text, 
which attempts to set its properties immediately after the playbin2 is created. 
But there was no miracle,Playbin2 is still trying to create instances for each audio track.

BTW, I'm using  GstPlayer API for building applications.

Can anyone help me on this? 

Regards, 
rland
</blockquote></div></div><div dir="auto"><br></div><div dir="auto">There is little we can do about that.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








        
        
        
<br><hr align="left" width="300">
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank" rel="noreferrer">GStreamer-devel mailing list archive</a> at Nabble.com.<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>