diff options
Diffstat (limited to 'video/filter/vf_vapoursynth.c')
-rw-r--r-- | video/filter/vf_vapoursynth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index 313b66e26b..a6cf471583 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -180,6 +180,9 @@ static int filter_ext(struct vf_instance *vf, struct mp_image *mpi) if (!p->out_node) return -1; + if (!mpi) + return 0; + // Try to get new frames until we get rid of the input mpi. pthread_mutex_lock(&p->lock); while (1) { |