1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00

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

View File

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