Commit 9fee22db authored by Marton Balint's avatar Marton Balint

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: 's avatarMarton Balint <cus@passwd.hu>
parent 320b631a
......@@ -2211,6 +2211,8 @@ static int video_thread(void *arg)
ret = queue_picture(is, frame, pts, duration, frame->pkt_pos, is->viddec.pkt_serial);
av_frame_unref(frame);
#if CONFIG_AVFILTER
if (is->videoq.serial != is->viddec.pkt_serial)
break;
}
#endif
......
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