Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Commit

Permalink
Fix no frame returned at the end of processing bug
Browse files Browse the repository at this point in the history
Only happen when mtql, mthl, mtqc, mthc are all set to -2 and show=True
  • Loading branch information
HolyWu committed Dec 30, 2014
1 parent 04b9dfa commit e97c60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TDeintMod/TDeintMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1857,10 +1857,10 @@ static const VSFrameRef *VS_CC tdeintmodGetFrame(int n, int activationReason, vo
if (d->mask)
vsapi->requestFrameFilter(nSaved, d->mask, frameCtx);

vsapi->requestFrameFilter(n, d->node, frameCtx);
if (!d->show) {
if (n > 0)
vsapi->requestFrameFilter(n - 1, d->node, frameCtx);
vsapi->requestFrameFilter(n, d->node, frameCtx);
if (n < d->viSaved->numFrames - 1)
vsapi->requestFrameFilter(n + 1, d->node, frameCtx);
if (d->edeint)
Expand Down

0 comments on commit e97c60e

Please sign in to comment.