From ceba1d446a586c314bfc01ffd65ca7931dadc133 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 13 Oct 2014 14:35:03 +0200 Subject: [PATCH] vf_vapoursynth: add debug message when returning error from GetFrame Some filters still (or will) behave badly on these errors, so explicitly log when it happens. --- video/filter/vf_vapoursynth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index c09563596d..ba630f8df1 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -417,6 +417,7 @@ static const VSFrameRef *VS_CC infiltGetFrame(int frameno, int activationReason, while (1) { if (p->shutdown) { p->vsapi->setFilterError("EOF or filter reinit/uninit", frameCtx); + MP_DBG(vf, "returning error on EOF/reset\n"); break; } if (p->initializing) {