Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2018-08-25 21:42:55 +0300
committerMarton Balint <cus@passwd.hu>2018-09-01 22:53:58 +0300
commit9fee22dbddb66fc6818c9a21879731c42de9d3e3 (patch)
tree4262a760d5000c7f1b2ab6ce417b658d20321c3e /fftools
parent320b631a99a9f759fd1d5460fd4e285d184b8186 (diff)
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>
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 368e262123..5d9121e5b7 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -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