summaryrefslogtreecommitdiff
path: root/command/markad-standalone.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2011-03-13 22:38:04 +0100
committerJochen Dolze <vdr@dolze.de>2011-03-13 22:38:04 +0100
commitad13e186a657a6d2488dcc608ef670804107f4a7 (patch)
tree7b5a34fbce92b5038a4bf3cf1d31374f861568b2 /command/markad-standalone.cpp
parenta9829b55f99465d6194de0e8e8fb648d24d79317 (diff)
downloadvdr-plugin-markad-ad13e186a657a6d2488dcc608ef670804107f4a7.tar.gz
vdr-plugin-markad-ad13e186a657a6d2488dcc608ef670804107f4a7.tar.bz2
Changed order of detection modes in video.cpp
Changed position of start/stop detection
Diffstat (limited to 'command/markad-standalone.cpp')
-rw-r--r--command/markad-standalone.cpp17
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();
+ }
}
}
}