diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-09 18:06:08 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-09 18:06:08 +0000 |
commit | 8e5d1b940a094de3db81ed8fe19fcb8d05212de7 (patch) | |
tree | da731d9253d5f9a82c1f9572cba228d5916a8dba /mplayer.c | |
parent | 36e5a58db23338cc96ca1dd5577eef3f999e9c86 (diff) | |
download | mpv-8e5d1b940a094de3db81ed8fe19fcb8d05212de7.tar.bz2 mpv-8e5d1b940a094de3db81ed8fe19fcb8d05212de7.tar.xz |
Don't drop frames when paused, fixes not displaying the pause OSD icon
when paused, patch by Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>,
approved by Attila.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12982 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2100,7 +2100,7 @@ if(!sh_video) { float d=delay-sh_audio->delay; // we should avoid dropping to many frames in sequence unless we // are too late. and we allow 100ms A-V delay here: - if(d<-dropped_frames*frame_time-0.100){ + if(d<-dropped_frames*frame_time-0.100 && osd_function != OSD_PAUSE){ drop_frame=frame_dropping; ++drop_frame_cnt; ++dropped_frames; |