diff options
author | Michael Niedermayer | 2011-09-14 14:56:59 +0200 |
---|---|---|
committer | Michael Niedermayer | 2011-09-14 14:56:59 +0200 |
commit | a30ef633546ecf382d1913159870bd74649c680f (patch) | |
tree | b50143a354574e15e03fc1fb1fb4b54134fa9633 /ffplay.c | |
parent | 872655fee9168550cb9e12d37d7a38e56c7da0eb (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |