From dbcbcef08f7fd9cd09cac5a0db95df1fd24a55ed Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Wed, 2 Mar 2011 22:08:00 +0100 Subject: Fixed memory leak in AddMark Fixed uninitialized variable error in video.cpp Added logo detection for permitting weak marks --- command/global.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'command/global.h') diff --git a/command/global.h b/command/global.h index af2d3a1..aad3c62 100644 --- a/command/global.h +++ b/command/global.h @@ -49,6 +49,8 @@ typedef unsigned char uchar; #define MT_CHANNELSTART 0x61 #define MT_CHANNELSTOP 0x62 +#define MT_RECORDINGSTART 0xD1 +#define MT_RECORDINGSTOP 0xD2 #define MT_MOVED 0xE0 #define MT_ALL 0xFF @@ -91,7 +93,7 @@ typedef struct MarkAdAspectRatio typedef struct MarkAdMark { - char Type; + int Type; int Position; int ChannelsBefore; int ChannelsAfter; @@ -139,6 +141,7 @@ typedef struct MarkAdContext { bool IgnoreAspectRatio; bool IgnoreLogoDetection; + bool WeakMarksOk; } Options; struct Info -- cgit v1.2.3