From 06166e067e01b9ab9115e9537c9ce4c85d058c6f Mon Sep 17 00:00:00 2001 From: Jim Stichnoth Date: Thu, 24 May 2012 22:37:49 -0700 Subject: [PATCH] Commflag: Increase the value of MAX_BLANK_FRAMES. For regions of blank frames between "skip" sections and "keep" sections, the blank region is divided equally between the "skip" and "keep" sections, subject to the MAX_BLANK_FRAMES limit. The limit is increased from 60 to 180 frames to give a better chance of an even split, combined with a reasonable upper limit. --- mythtv/programs/mythcommflag/CommDetectorBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/programs/mythcommflag/CommDetectorBase.h b/mythtv/programs/mythcommflag/CommDetectorBase.h index 3d2b6708e4e..7fee51b1ced 100644 --- a/mythtv/programs/mythcommflag/CommDetectorBase.h +++ b/mythtv/programs/mythcommflag/CommDetectorBase.h @@ -9,7 +9,7 @@ using namespace std; #include "programtypes.h" -#define MAX_BLANK_FRAMES 60 +#define MAX_BLANK_FRAMES 180 typedef enum commMapValues { MARK_START = 0,