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.
This commit is contained in:
wm4 2014-10-13 14:35:03 +02:00
parent 7266ceeb8e
commit ceba1d446a
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ static const VSFrameRef *VS_CC infiltGetFrame(int frameno, int activationReason,
while (1) { while (1) {
if (p->shutdown) { if (p->shutdown) {
p->vsapi->setFilterError("EOF or filter reinit/uninit", frameCtx); p->vsapi->setFilterError("EOF or filter reinit/uninit", frameCtx);
MP_DBG(vf, "returning error on EOF/reset\n");
break; break;
} }
if (p->initializing) { if (p->initializing) {