decodebin2 autoplug-continue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

decodebin2 autoplug-continue

Vineeth-2
Hi all,
  I have a doubt regarding "autoplug-continue" signal of decodebin2. According to the documentation
  "This signal is emitted whenever decodebin2 finds a new stream"; However when I am trying to open a mp3 file ( which has only one stream ) I am getting the callback at least 4 times, with the following caps:
audio/mpeg, mpegversion=(int)1, layer=(int)3
audio/mpeg, mpegversion=(int)1, layer=(int)[ 1, 3 ], rate=(int)[ 8000, 48000 ], channels=(int)[ 1, 2 ], parsed=(boolean)true
audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
audio/mpeg, mpegversion=(int)1, layer=(int)[ 1, 3 ], rate=(int)[ 8000, 48000 ], channels=(int)[ 1, 2 ], parsed=(boolean)true

Why is it so, I was expecting only one callback for the mp3 file, since its just a single stream.

Thanks.



------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel