diff options
Diffstat (limited to 'command/markad-standalone.cpp')
-rw-r--r-- | command/markad-standalone.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp index 3f38cf4..2db0fc6 100644 --- a/command/markad-standalone.cpp +++ b/command/markad-standalone.cpp @@ -974,14 +974,6 @@ bool cMarkAdStandalone::ProcessFile(int Number) iStop=lastiframe; iStopinBroadCast=inBroadCast; } - if (iStart>0) - { - if ((inBroadCast) && (lastiframe>chkSTART)) CheckStart(); - } - if (iStop>0) - { - if (lastiframe>chkSTOP) CheckStop(); - } iframe=framecnt-1; dRes=true; } @@ -1002,6 +994,15 @@ bool cMarkAdStandalone::ProcessFile(int Number) } } //SaveFrame(lastiframe); // TODO: JUST FOR DEBUGGING! + + if (iStart>0) + { + if ((inBroadCast) && (lastiframe>chkSTART)) CheckStart(); + } + if (iStop>0) + { + if (lastiframe>chkSTOP) CheckStop(); + } } } } |