mirror of
https://github.com/mpv-player/mpv
synced 2025-05-08 11:10:15 +00:00
reverted old seeking method - ask Holm why...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4204 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
33585756ec
commit
bcc94e1ad0
@ -709,7 +709,7 @@ if(!demuxer->seekable){
|
|||||||
demuxer->video->eof=0;
|
demuxer->video->eof=0;
|
||||||
demuxer->audio->eof=0;
|
demuxer->audio->eof=0;
|
||||||
|
|
||||||
#if 1
|
#if 0
|
||||||
if(sh_audio) sh_audio->timer=sh_video->timer;
|
if(sh_audio) sh_audio->timer=sh_video->timer;
|
||||||
#else
|
#else
|
||||||
if(sh_audio) sh_audio->timer=0;
|
if(sh_audio) sh_audio->timer=0;
|
||||||
|
@ -2236,7 +2236,7 @@ if(rel_seek_secs || abs_seek_pos){
|
|||||||
c_total=0;
|
c_total=0;
|
||||||
max_pts_correction=0.1;
|
max_pts_correction=0.1;
|
||||||
osd_visible=sh_video->fps; // to rewert to PLAY pointer after 1 sec
|
osd_visible=sh_video->fps; // to rewert to PLAY pointer after 1 sec
|
||||||
// audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
|
audio_time_usage=0; video_time_usage=0; vout_time_usage=0;
|
||||||
drop_frame_cnt=0;
|
drop_frame_cnt=0;
|
||||||
too_slow_frame_cnt=0;
|
too_slow_frame_cnt=0;
|
||||||
too_fast_frame_cnt=0;
|
too_fast_frame_cnt=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user