Hi,<br><br> When I try to use mad mp3 decode plugin with decodebin, I find this strange behavior.<br>
        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.2 (Linux)"><meta name="CREATED" content="20080606;13554800"><meta name="CHANGED" content="16010101;0">
        
        
        
        
        <style type="text/css">
        <!--
                @page { size: 21cm 29.7cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<p style="margin-bottom: 0cm; line-height: 100%;"><font face="Times, serif"><span lang="en-AU"> he_free.bit is a mp3 file, 44,1 kHz free format bitstream of MPEG1 Layer3.</span></font></p><p style="margin-bottom: 0cm; line-height: 100%;">
<font face="Times, serif"><span lang="en-AU"> When I use "gst-launch -v -t filesrc location=he_free.bit ! decodebin ! alsasink" on my I386 PC Linux.</span></font></p><p style="margin-bottom: 0cm; line-height: 100%;">
<font face="Times, serif"><span lang="en-AU"> It hangs as</span></font></p><p style="margin-bottom: 0cm; line-height: 100%;"><font face="Times, serif"><span lang="en-AU">......<br></span></font></p><p style="margin-bottom: 0cm; line-height: 100%;">
0:00:46.365035663 1140 0x804e078 INFO default gsttypefindhelper.c:168:helper_find_peek: typefind function returned: unexpected<br>0:00:46.365941888 1140 0x804e078 INFO GST_TYPEFIND gsttypefind.c:83:gst_type_find_register: registering typefind function for subparse_typefind<br>
0:00:46.366326904 1140 0x804e078 INFO GST_PLUGIN_LOADING gstplugin.c:550:gst_plugin_load_file: plugin "/work/new/rootfs/usr/lib/gstreamer-0.10/libgstsubparse.so" loaded<br>0:00:46.368792641 1140 0x804e078 INFO typefind gsttypefindelement.c:154:gst_type_find_element_have_type:<typefind> found caps audio/mpeg, mpegversion=(int)1, layer=(int)3<br>
0:00:46.385352053 1140 0x804e078 INFO GST_ELEMENT_PADS gstelement.c:887:gst_element_get_static_pad: found pad typefind:src<br>0:00:46.387628352 1140 0x804e078 INFO GST_PLUGIN_LOADING gstplugin.c:550:gst_plugin_load_file: plugin "/work/new/rootfs/usr/lib/gstreamer-0.10/libgstmpegaudioparse.so" loaded<br>
0:00:46.387769943 1140 0x804e078 INFO GST_ELEMENT_FACTORY gstelementfactory.c:399:gst_element_factory_create: creating element "mp3parse"<br>0:00:46.387902539 1140 0x804e078 INFO GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<GstMPEGAudioParse@0x80921a0> adding pad 'sink'<br>
0:00:46.388009454 1140 0x804e078 INFO GST_ELEMENT_PADS gstelement.c:641:gst_element_add_pad:<GstMPEGAudioParse@0x80921a0> adding pad 'src'<br>0:00:46.388108333 1140 0x804e078 INFO GST_ELEMENT_PADS gstelement.c:887:gst_element_get_static_pad: found pad mpegaudioparse0:sink<br>
0:00:46.388185253 1140 0x804e078 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<mpegaudioparse0> completed state change to READY<br>0:00:46.388241633 1140 0x804e078 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<mpegaudioparse0> posting state-changed NULL to READY<br>
0:00:46.388318509 1140 0x804e078 INFO GST_PADS gstpad.c:1769:gst_pad_link_prepare: trying to link typefind:src and mpegaudioparse0:sink<br>0:00:46.388402318 1140 0x804e078 INFO GST_PADS gstpad.c:1906:gst_pad_link: linked typefind:src and mpegaudioparse0:sink, successful<br>
0:00:46.388477079 1140 0x804e078 INFO GST_ELEMENT_PADS gstelement.c:887:gst_element_get_static_pad: found pad mpegaudioparse0:src<br>0:00:46.388577252 1140 0x804e078 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<mpegaudioparse0> completed state change to PAUSED<br>
0:00:46.388635173 1140 0x804e078 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<mpegaudioparse0> posting state-changed READY to PAUSED<br>0:00:46.388713436 1140 0x804e078 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<typefind> completed state change to PAUSED<br>
0:00:46.388769411 1140 0x804e078 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<typefind> posting state-changed READY to PAUSED<br>0:00:46.388835319 1140 0x804e078 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<decodebin0> child 'typefind' changed state to 3(PAUSED) successfully<br>
0:00:46.389022428 1140 0x804e078 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<mpegaudioparse0> completed state change to PAUSED<br>0:00:46.389082730 1140 0x804e078 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<decodebin0> child 'mpegaudioparse0' changed state to 3(PAUSED) successfully<br>
0:00:46.389143539 1140 0x804e078 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<typefind> completed state change to PAUSED<br>0:00:46.389198771 1140 0x804e078 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<decodebin0> child 'typefind' changed state to 3(PAUSED) successfully<br>
0:00:46.389256396 1140 0x804e078 INFO GST_STATES gstbin.c:2197:gst_bin_change_state_func:<decodebin0> child 'fakesink' is changing state asynchronously to PAUSED<br>0:00:46.389323928 1140 0x804e078 INFO GST_STATES gstbin.c:2197:gst_bin_change_state_func:<pipeline0> child 'decodebin0' is changing state asynchronously to PAUSED<br>
0:00:46.389405506 1140 0x804e078 INFO filesrc gstfilesrc.c:907:gst_file_src_start:<filesrc0> opening file /home/neo/vmware/vmshare/mp3/test_bitstream/mpeg1/he_free.bit<br>0:00:46.389500095 1140 0x804e078 INFO GST_EVENT gstevent.c:539:gst_event_new_new_segment_full: creating newsegment update 0, rate 1.000000, format 2, start 0, stop 26645, position 0<br>
0:00:46.389725698 1140 0x804e078 INFO GST_STATES gstelement.c:2148:gst_element_continue_state:<filesrc0> completed state change to PAUSED<br>0:00:46.389792007 1140 0x804e078 INFO GST_STATES gstelement.c:2161:gst_element_continue_state:<filesrc0> posting state-changed READY to PAUSED<br>
0:00:46.389958886 1140 0x804e078 INFO GST_STATES gstbin.c:2191:gst_bin_change_state_func:<pipeline0> child 'filesrc0' changed state to 3(PAUSED) successfully<br>Pipeline is PREROLLING ...<br>0:00:46.390540442 1140 0x80d9a48 INFO GST_PADS gstpad.c:2933:gst_pad_event_default_dispatch:<typefind:sink> Sending event 0x8053cc8 (newsegment) to all internally linked pads<br>
0:00:46.390651867 1140 0x80d9a48 INFO GST_EVENT gstevent.c:534:gst_event_new_new_segment_full: creating newsegment update 0, rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop 99:99:99.999999999, position 0:00:00.000000000<br>
0:00:46.395255434 1140 0x80d9a48 INFO basesrc gstbasesrc.c:2021:gst_base_src_loop:<filesrc0> pausing after gst_base_src_get_range() = unexpected<br>0:00:46.400369061 1140 0x80d9a48 INFO GST_PADS gstpad.c:2933:gst_pad_event_default_dispatch:<typefind:sink> Sending event 0x805e4c8 (eos) to all internally linked pads<br>
<br>
</p><p style="margin-bottom: 0cm; line-height: 100%;"> When I remove mpegaudioparse plugin, it run success.<br><font face="Times, serif"><span lang="en-AU"></span></font></p><p style="margin-bottom: 0cm; line-height: 100%;">
<font face="Times, serif"><span lang="en-AU"> I find there have more than 100000 times repeat INFO messages as "0:00:00.104673638 28551 0x804e078 INFO default gsttypefindhelper.c:168:helper_find_peek: typefind function returned: unexpected".</span></font></p>
<p style="margin-bottom: 0cm; line-height: 100%;"><font face="Times, serif"><span lang="en-AU"> I do not know why typefind print so many unexpected INFO? Why mpegaudioparse impact decodebin?<br></span></font></p><p style="margin-bottom: 0cm; line-height: 100%;">
<font face="Times, serif"><span lang="en-AU"><br></span></font></p><p style="margin-bottom: 0cm; line-height: 100%;"><font face="Times, serif"><span lang="en-AU"> <br></span></font></p>
<br>