Ticket #861: commflag.diff
File commflag.diff, 912 bytes (added by , 18 years ago) |
---|
-
mythtv/programs/mythcommflag/ClassicCommDetector.cpp
271 271 if ((wereRecording) && (!stillRecording) && (secsSince < requiredHeadStart)) 272 272 return false; 273 273 274 if (nvp->OpenFile() < 0)275 return false;276 277 274 Init(); 278 275 279 276 aggressiveDetection = gContext->GetNumSetting("AggressiveCommDetect", 1); … … 285 282 return false; 286 283 } 287 284 285 if (nvp->OpenFile() < 0) 286 { 287 VERBOSE(VB_IMPORTANT, "NVP: Unable to open file for FlagCommercials."); 288 return false; 289 } 290 288 291 if ((commDetectMethod & COMM_DETECT_LOGO) && 289 292 ((nvp->GetLength() == 0) || 290 293 (nvp->GetLength() > commDetectLogoSecondsNeeded)))