vf_vapoursynth: fix debug output

This commit is contained in:
wm4 2014-05-15 16:59:26 +02:00
parent 97604ebcd2
commit 0128579542
1 changed files with 4 additions and 1 deletions

View File

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