diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-05-22 19:51:11 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-05-22 19:51:11 +0200 |
commit | 6596f8360fee95c6139d5a739ac0aa4c964f1e42 (patch) | |
tree | d24a06781e57544f3ac42293f580e007bc08f0ce /command/video.cpp | |
parent | 9aa6949e5f98e580f91320bb7255f985b5bd6103 (diff) | |
download | vdr-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.cpp | 5 |
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); } |