summaryrefslogtreecommitdiff
path: root/command/video.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-05-22 19:51:11 +0200
committerJochen Dolze <vdr@dolze.de>2010-05-22 19:51:11 +0200
commit6596f8360fee95c6139d5a739ac0aa4c964f1e42 (patch)
treed24a06781e57544f3ac42293f580e007bc08f0ce /command/video.cpp
parent9aa6949e5f98e580f91320bb7255f985b5bd6103 (diff)
downloadvdr-plugin-markad-6596f8360fee95c6139d5a739ac0aa4c964f1e42.tar.gz
vdr-plugin-markad-6596f8360fee95c6139d5a739ac0aa4c964f1e42.tar.bz2
Fixed marks handling, new version 0.0.7
Diffstat (limited to 'command/video.cpp')
-rw-r--r--command/video.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/command/video.cpp b/command/video.cpp
index 90a9c53..2f75222 100644
--- a/command/video.cpp
+++ b/command/video.cpp
@@ -472,8 +472,7 @@ int cMarkAdBlackBordersHoriz::Process(int LastIFrame, int *BorderIFrame)
}
else
{
-#define MINSECS 90
-//420
+#define MINSECS 240
switch (borderstatus)
{
case UNINITIALIZED:
@@ -655,7 +654,7 @@ MarkAdMark *cMarkAdVideo::Process(int LastIFrame)
if ((macontext->Info.AspectRatio.Num) && (macontext->Info.AspectRatio.Den))
{
if ((macontext->Video.Info.AspectRatio.Num==macontext->Info.AspectRatio.Num) &&
- (macontext->Video.Info.AspectRatio.Num==macontext->Info.AspectRatio.Num))
+ (macontext->Video.Info.AspectRatio.Den==macontext->Info.AspectRatio.Den))
{
AddMark(MT_ASPECTSTART,LastIFrame,buf);
}