summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/filter/vf_vapoursynth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c
index 4885ff26bc..c63e648603 100644
--- a/video/filter/vf_vapoursynth.c
+++ b/video/filter/vf_vapoursynth.c
@@ -261,7 +261,7 @@ static int filter_ext(struct vf_instance *vf, struct mp_image *mpi)
pthread_cond_broadcast(&p->wakeup);
}
- if (p->requested[0] && p->requested[0] != &dummy_img) {
+ while (p->requested[0] && p->requested[0] != &dummy_img) {
struct mp_image *out = p->requested[0];
if (out->pts != MP_NOPTS_VALUE) {
double duration = out->pts;