summaryrefslogtreecommitdiff
path: root/command/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'command/video.cpp')
-rw-r--r--command/video.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/command/video.cpp b/command/video.cpp
index 054b66b..9b21c51 100644
--- a/command/video.cpp
+++ b/command/video.cpp
@@ -338,8 +338,9 @@ int cMarkAdLogo::Detect(int framenumber, int *logoframenumber)
if (processed==1)
{
- if ((area.intensity>100) || (area.status!=LOGO_VISIBLE) &&
- (area.intensity>180)) return LOGO_NOCHANGE;
+ // if we only have one plane we are "vulnerable"
+ // to very bright pictures, so ignore them...
+ if (area.intensity>100) return LOGO_NOCHANGE;
}
int ret=LOGO_NOCHANGE;