mirror of https://github.com/mpv-player/mpv
100000l! it resets a/v buffers _after_ stream sync, dropping possible keyframe, and may causing a-v desync.. seems to fix mpg seek bug and avi desync bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5943 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1114198ba2
commit
0a9278d9c5
|
@ -2718,6 +2718,7 @@ if(rel_seek_secs || abs_seek_pos){
|
|||
/* FIXME there should be real seeking for vobsub */
|
||||
if (vo_vobsub)
|
||||
vobsub_reset(vo_vobsub);
|
||||
#if 0
|
||||
if(sh_video && d_video->packs == 0)
|
||||
ds_fill_buffer(d_video);
|
||||
if(sh_audio){
|
||||
|
@ -2732,6 +2733,7 @@ if(rel_seek_secs || abs_seek_pos){
|
|||
} else {
|
||||
mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A: --- V:%6.1f \r",d_video->pts);
|
||||
}
|
||||
#endif
|
||||
fflush(stdout);
|
||||
|
||||
if(sh_video){
|
||||
|
|
Loading…
Reference in New Issue