From 63441d36ef29e13edbba770093f582b2a455160a Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Apr 2018 18:54:04 +0200 Subject: vf_vapoursynth: correctly signal error on script init failure Otherwise it will do nothing, waiting on nothing forever. --- video/filter/vf_vapoursynth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index d9a222db83..95bc2b51e9 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -371,6 +371,7 @@ static void vf_vapoursynth_process(struct mp_filter *f) if (reinit_vs(p, mpi) < 0) { MP_ERR(p, "could not init VS\n"); mp_frame_unref(&frame); + mp_filter_internal_mark_failed(f); return; } pthread_mutex_lock(&p->lock); -- cgit v1.2.3