<div>hello,</div> <div> </div> <div>I met a problem in pause & resume concurrent with a/v sync</div> <div>I build overlay2sink based on GstVideoSink.</div> <div> </div> <div>system is below,</div> <div> </div> <div> audio_queue -> audiodec -> osssink<BR>filesrc -> splitter -> <BR> video_queue -> videodec -> overlay2sink</div> <div><BR>if the filesrc only contains audio or only video, pause & resume work well.<BR>while if the filesrc contains both audio and video, resume can not work perfectly.<BR>Always video resume immediately without audio,
then video block to wait audio sync.<BR>sometimes the system can sync again, sometimes system will block forever.</div> <div> </div> <div>I guess the problem exists in buffer data of the sink.<BR>overlay2sink has use only one buffer (wrote by myself).<BR>while osssink have many.<BR>It seems overlay2sink resume immediately, but lost sync, so it will wait for osssink.</div> <div><BR>I don't know how osssink will handle the buffer data in puase situation.<BR>Should I manually push all the buffer data in osssink before pausing, or do something in overlay2sink when state change from playing to pause.</div> <div>could you give some ideas?</div> <div> </div> <div>Thanks</div><BR><BR><p> 
                <hr size=1><a href="http://cn.mail.yahoo.com/" target=blank>
ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20M¸½¼þ</a>