Commit a30ef633 authored by Michael Niedermayer's avatar Michael Niedermayer

ffplay: dont drop all frames if realtime decoding is impossible

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 872655fe
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment