From 0128579542cf55023aa01d7d6aba8079203960ef Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 15 May 2014 16:59:26 +0200 Subject: vf_vapoursynth: fix debug output --- video/filter/vf_vapoursynth.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'video/filter') diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index d4c74cd16e..9d871c2173 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -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) { -- cgit v1.2.3