mirror of https://github.com/mpv-player/mpv
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:
parent
7266ceeb8e
commit
ceba1d446a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue