<div>hi, </div> <div> </div> <div>I want to support seek in mp3dec, testing like this<BR>gst-launch filesrc location=xx.mp3 ! mp3dec ! alsasink</div> <div> </div> <div>But frequently after seeking, audio will blocking about 1~5 seconds, at the same time, print following message</div> <div>WARNING: Element "alsasink0" warns: gstbaseaudiosink.c(696): gst_base_audio_sink_render (): /pipeline0/alsasink0:<BR>Unexpected discontinuity in audio timestamps of more than half a second (0:00:11.394603174), resyncing</div> <div> </div> <div>In sinkpad_event, I use "gst_event_new_new_segment" with new timestamp, which is calculated by new seek offset. <BR>In chain function I use new timestamp as new start point.</div> <div> </div> <div>Still I find alsasink seems omit the timestamp. <BR>In gstbaseaudiosink.c gst_base_audio_sink_event function,</div> <div> /* we only need the rate */<BR>
gst_event_parse_new_segment_full (event, NULL, &rate, NULL, NULL,<BR> NULL, NULL, NULL);</div> <div> </div> <div>how to solve the blocking issue, is there any tricky?</div> <div> </div> <div>Thanks in advance!</div><p> 
                <hr size=1><a href="http://cn.mail.yahoo.com" target=blank>ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ£¡</a>