<div>Hi,</div>
<div>I am trying to run the following pipeline on target board:</div>
<div> </div>
<div><strong>gst-launch-0.10 filesrc location= AAC_stereo.aac ! aacparse ! myaac_decoder ! alsasink -v</strong></div>
<div> </div>
<div>here myaac_decoder is the basic aac decoder element that i have written.But when I run this pipeline I get following error.</div>
<div>My understanding from this error is that from aacparse I am getting event NEW_SEGMENT with format as NULL(highlighted this error)and hence decoder is not going ahead but i dont know how to fix this kind of issue.</div>

<div> </div>
<div>Kindly suggest some method to fix it.</div>
<div> </div>
<div><br>0:00:01.068206190  1989    0xaf5c8 INFO          savs_aacparser savs_aac_parser.c:998:fal_aac_parser_check_and_replenish_cache: Attempting to read 12288 bytes from postion 3022810 on handle=0x000aefe8</div>
<div><br>0:00:01.069960912  1989    0xaf5c8 INFO          savs_aacparser savs_aac_parser.c:998:fal_aac_parser_check_and_replenish_cache: Attempting to read 12288 bytes from postion 3033405 on handle=0x000aefe8</div>
<div><br>0:00:01.071024121  1989    0xaf5c8 WARN          GST_SCHEDULING gstpad.c:4772:gst_pad_get_range:&lt;filesrc0:src&gt; getrange failed unexpected</div>
<div><br>0:00:01.071961047  1989    0xaf5c8 WARN          GST_SCHEDULING gstpad.c:4884:gst_pad_pull_range:&lt;savsaacparser0:sink&gt; pullrange failed unexpected</div>
<div><br>0:00:01.073741873  1989    0xaf5c8 INFO          savs_aacparser savs_aac_parser.c:1162:savs_aac_parser_init_engine: AAC Stream is of format : 2 (ADTS)</div>
<div><br>0:00:01.074590418  1989    0xaf5c8 INFO          savs_aacparser savs_aac_parser.c:1168:savs_aac_parser_init_engine: ADTS Parameters: Version=1, Profile=1, Sampling Frequency=24000, Channels=2, Frame size=1322, Samples per frame=1024, Stream duration=0:01:36.767998488 .</div>

<div><br>0:00:01.076339864  1989    0xaf5c8 INFO          savs_aacparser savs_aac_parser.c:420:savs_aac_parser_loop: Set total stream duration to 0:01:36.767998488</div>
<div><br>0:00:01.077222307  1989    0xaf5c8 INFO               GST_EVENT gstevent.c:591: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</div>

<div><br><strong>0:00:01.078684857  1989    0xaf5c8 ERROR            savsdec_aac gstsavsdecaac.c:345:gst_savsdecaac_sink_event: dropping newsegment event in format (null)</strong></div>
<div><br>0:00:01.078852278  1989    0xaf5c8 INFO          savs_aacparser savs_aac_parser.c:998:fal_aac_parser_check_and_replenish_cache: Attempting to read 12288 bytes from postion 0 on handle=0x000aefe8<br></div>
<div>0:00:01.079197646  1989    0xaf5c8 WARN          savs_aacparser savs_aac_parser.c:1305:savs_aac_parser_push_frame: failed to push buffer. reason: not-negotiated<br></div>
<div>0:00:01.079316536  1989    0xaf5c8 ERROR         savs_aacparser savs_aac_parser.c:449:savs_aac_parser_loop: Failed to send next aac frame to peer; reason: not-negotiated<br></div>
<div>0:00:01.079437646  1989    0xaf5c8 WARN          savs_aacparser savs_aac_parser.c:490:savs_aac_parser_loop:&lt;savsaacparser0&gt; error: Internal data stream error.<br></div>
<div>0:00:01.079540584  1989    0xaf5c8 WARN          savs_aacparser savs_aac_parser.c:490:savs_aac_parser_loop:&lt;savsaacparser0&gt; error: Streaming stopped, reason not-negotiated<br></div>
<div>0:00:01.079726911  1989    0xaf5c8 INFO        GST_ERROR_SYSTEM gstelement.c:1767:gst_element_message_full:&lt;savsaacparser0&gt; posting message: Internal data stream error.<br><strong>ERROR: from element /GstPipeline:pipeline0/SavsAacParser:savsaacparser0: Internal data stream error.<br>
</strong></div>
<div>Additional debug info:<br>savs_aac_parser.c(490): savs_aac_parser_loop (): /GstPipeline:pipeline0/SavsAacParser:savsaacparser0:<br>Streaming stopped, reason not-negotiated<br>ERROR: pipeline doesn&#39;t want to preroll.<br>
</div>
<div>thanks in advance!!</div>
<div> </div>