1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

vf_vapoursynth: correctly signal error on script init failure

Otherwise it will do nothing, waiting on nothing forever.
This commit is contained in:
wm4 2018-04-27 18:54:04 +02:00 committed by Jan Ekström
parent 2a28712b44
commit 63441d36ef

View File

@ -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);