Ticket #174: scan.2.patch
File scan.2.patch, 1.9 KB (added by , 19 years ago) |
---|
-
libs/libmythtv/scanwizard.cpp
431 431 return; 432 432 } 433 433 434 #if def USE_OWN_SIPARSER434 #if defined(USING_DVB) && defined(USE_OWN_SIPARSER) 435 435 if (GetDVBChannel()) 436 436 GetDVBChannel()->disable_siparser = true; 437 437 #endif // !USE_OWN_SIPARSER -
libs/libmythtv/siscan.cpp
157 157 158 158 void *SIScan::SpawnSectionReader(void *param) 159 159 { 160 #ifdef USING_DVB 160 161 DVBSIParser *siparser = (DVBSIParser*) param; 161 162 siparser->StartSectionReader(); 163 #else 164 (void)param; 165 #endif 162 166 return NULL; 163 167 } 164 168 … … 743 747 /* Force dvbchannel to exit */ 744 748 if (siparser && GetDVBChannel()) 745 749 GetDVBChannel()->StopTuning(); 746 #endif // USING_DVB747 750 #ifdef USE_OWN_SIPARSER 748 751 if (siparser) 749 752 { … … 752 755 delete siparser; 753 756 } 754 757 #endif // !USE_OWN_SIPARSER 758 #endif // USING_DVB 755 759 if (scanner_thread_running) 756 760 pthread_join(scanner_thread, NULL); 757 761 if (signalMonitor) … … 1342 1346 .arg(service_name)); 1343 1347 } 1344 1348 } 1349 #else 1350 (void)tid_db; 1345 1351 #endif // USING_DVB 1346 1352 } 1347 1353 … … 1520 1526 // ///////////////////// Static DB helper methods ///////////////////// 1521 1527 // ///////////////////// Static DB helper methods ///////////////////// 1522 1528 1529 #ifdef USING_DVB 1523 1530 static bool ignore_encrypted_services(int db_mplexid, QString videodevice) 1524 1531 { 1525 1532 MSqlQuery query(MSqlQuery::InitCon()); … … 1543 1550 return true; 1544 1551 } 1545 1552 1546 #ifdef USING_DVB1547 1553 static int create_dtv_multiplex_ofdm(const TransportScanItem& item, 1548 1554 const DVBTuning& tuning) 1549 1555 {