From 0a9278d9c539a5a5f3e7b1f0919b8e6874840a65 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 2 May 2002 23:40:31 +0000 Subject: [PATCH] 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 --- mplayer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mplayer.c b/mplayer.c index 08450bf381..84dfbc0636 100644 --- a/mplayer.c +++ b/mplayer.c @@ -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){