From a30ef633546ecf382d1913159870bd74649c680f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 14 Sep 2011 14:56:59 +0200 Subject: [PATCH] ffplay: dont drop all frames if realtime decoding is impossible Signed-off-by: Michael Niedermayer --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index a9013ace9e..29e1120d88 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1133,7 +1133,7 @@ retry: } if((framedrop>0 || (framedrop && is->audio_st)) && time > next_target){ is->skip_frames *= 1.0 + FRAME_SKIP_FACTOR; - if(is->pictq_size > 1 || time > next_target + 0.5){ + if(is->pictq_size > 1){ /* update queue size and signal for next picture */ if (++is->pictq_rindex == VIDEO_PICTURE_QUEUE_SIZE) is->pictq_rindex = 0;