[gst-devel] decodebin2 autoplug-continue

vineeth nvineeth at gmail.com
Thu Apr 22 11:50:26 CEST 2010


Hi all,
  I have a doubt regarding "autoplug-continue" signal of decodebin2.
According to the
documentation<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-decodebin2.html#GstDecodeBin2-autoplug-continue>
  "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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100422/e9234868/attachment.htm>


More information about the gstreamer-devel mailing list