summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-04-27 18:54:04 +0200
committerJan Ekström <jeebjp@gmail.com>2018-04-29 02:21:32 +0300
commit63441d36ef29e13edbba770093f582b2a455160a (patch)
tree352dad8f68c9085f2b9871f0b1b03b9d5ac75979
parent2a28712b44b0b462a33ee6e91c98e8e19549fede (diff)
downloadmpv-63441d36ef29e13edbba770093f582b2a455160a.tar.bz2
mpv-63441d36ef29e13edbba770093f582b2a455160a.tar.xz
vf_vapoursynth: correctly signal error on script init failure
Otherwise it will do nothing, waiting on nothing forever.
-rw-r--r--video/filter/vf_vapoursynth.c1
1 files changed, 1 insertions, 0 deletions
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);