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:
parent
2a28712b44
commit
63441d36ef
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user