ffplay: do not drain existing filters when seeking
After a seek we drop all frames from the filter anyway. Audio filters already had a similar approach. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
320b631a99
commit
9fee22dbdd
@ -2211,6 +2211,8 @@ static int video_thread(void *arg)
|
|||||||
ret = queue_picture(is, frame, pts, duration, frame->pkt_pos, is->viddec.pkt_serial);
|
ret = queue_picture(is, frame, pts, duration, frame->pkt_pos, is->viddec.pkt_serial);
|
||||||
av_frame_unref(frame);
|
av_frame_unref(frame);
|
||||||
#if CONFIG_AVFILTER
|
#if CONFIG_AVFILTER
|
||||||
|
if (is->videoq.serial != is->viddec.pkt_serial)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user