aboutsummaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer2011-09-14 14:56:59 +0200
committerMichael Niedermayer2011-09-14 14:56:59 +0200
commita30ef633546ecf382d1913159870bd74649c680f (patch)
treeb50143a354574e15e03fc1fb1fb4b54134fa9633 /ffplay.c
parent872655fee9168550cb9e12d37d7a38e56c7da0eb (diff)
ffplay: dont drop all frames if realtime decoding is impossible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
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;