mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 20:21:49 +00:00
vf_vapoursynth: fix debug output
This commit is contained in:
parent
97604ebcd2
commit
0128579542
@ -434,7 +434,7 @@ static void destroy_vs(struct vf_instance *vf)
|
||||
p->out_pts = MP_NOPTS_VALUE;
|
||||
p->out_frameno = p->in_frameno = 0;
|
||||
|
||||
MP_DBG(vf, "initialized.\n");
|
||||
MP_DBG(vf, "uninitialized.\n");
|
||||
}
|
||||
|
||||
static int reinit_vs(struct vf_instance *vf)
|
||||
@ -445,6 +445,8 @@ static int reinit_vs(struct vf_instance *vf)
|
||||
|
||||
destroy_vs(vf);
|
||||
|
||||
MP_DBG(vf, "initializing...\n");
|
||||
|
||||
// First load an empty script to get a VSScript, so that we get the vsapi
|
||||
// and vscore.
|
||||
if (vsscript_evaluateScript(&p->se, "", NULL, 0))
|
||||
@ -486,6 +488,7 @@ static int reinit_vs(struct vf_instance *vf)
|
||||
goto error;
|
||||
}
|
||||
|
||||
MP_DBG(vf, "initialized.\n");
|
||||
res = 0;
|
||||
error:
|
||||
if (p->vsapi) {
|
||||
|
Loading…
Reference in New Issue
Block a user