1 | Index: ClassicCommDetector.cpp
|
---|
2 | ===================================================================
|
---|
3 | --- ClassicCommDetector.cpp (revision 10687)
|
---|
4 | +++ ClassicCommDetector.cpp (working copy)
|
---|
5 | @@ -242,8 +242,14 @@
|
---|
6 | if ((wereRecording) && (!stillRecording) && (secsSince < requiredHeadStart))
|
---|
7 | return false;
|
---|
8 |
|
---|
9 | + VERBOSE(VB_COMMFLAG, "Made it past short recordings check");
|
---|
10 | +
|
---|
11 | aggressiveDetection = gContext->GetNumSetting("AggressiveCommDetect", 1);
|
---|
12 | +
|
---|
13 | + VERBOSE(VB_COMMFLAG, QString("nvp->GetLength() returns: %1").arg(nvp->GetLength()));
|
---|
14 | + VERBOSE(VB_COMMFLAG, QString("logo->getRequiredAvailableBufferForSearch() returns: %1").arg(logoDetector->getRequiredAvailableBufferForSearch()));
|
---|
15 |
|
---|
16 | +
|
---|
17 | if (!nvp->InitVideo())
|
---|
18 | {
|
---|
19 | VERBOSE(VB_IMPORTANT,
|
---|
20 | @@ -252,10 +258,7 @@
|
---|
21 | }
|
---|
22 | nvp->SetCaptionsEnabled(false);
|
---|
23 |
|
---|
24 | - unsigned int length = static_cast<unsigned int>(nvp->GetLength());
|
---|
25 | - if ((commDetectMethod & COMM_DETECT_LOGO) &&
|
---|
26 | - ((length == 0) ||
|
---|
27 | - (length > logoDetector->getRequiredAvailableBufferForSearch())))
|
---|
28 | + if (commDetectMethod & COMM_DETECT_LOGO)
|
---|
29 | {
|
---|
30 | emit statusUpdate("Searching for Logo");
|
---|
31 |
|
---|