Mercurial > mplayer.hg
changeset 12981:a0654c0e4202
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.
author | diego |
---|---|
date | Mon, 09 Aug 2004 18:06:08 +0000 |
parents | 4cffd6585cd3 |
children | 26aa2bf92ef3 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Mon Aug 09 18:00:12 2004 +0000 +++ b/mplayer.c Mon Aug 09 18:06:08 2004 +0000 @@ -2100,7 +2100,7 @@ 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;