diff options
Diffstat (limited to 'video/filter/vf_vapoursynth.c')
-rw-r--r-- | video/filter/vf_vapoursynth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index d58433a4b5..3779400d9f 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -369,8 +369,9 @@ static void vf_vapoursynth_process(struct mp_filter *f) if (reinit_vs(p) < 0) { MP_ERR(p, "could not init VS\n"); mp_frame_unref(&frame); - goto done; + return; } + pthread_mutex_lock(&p->lock); } if (p->out_pts == MP_NOPTS_VALUE) p->out_pts = mpi->pts; |