Ticket #5882: bad_tuning_fix.diff
| File bad_tuning_fix.diff, 1.0 KB (added by mnix <mythtv-acct@…>, 3 years ago) |
|---|
-
dvbchannel.cpp
old new 661 661 return false; 662 662 } 663 663 664 dtvmultiplex_to_dtvproperties(card_type, tuning, &cmds); 664 if (!dtvmultiplex_to_dtvproperties(card_type, tuning, &cmds) || 665 cmds.num<2) 666 return false; 665 667 666 668 bool is_dvbs = (DTVTunerType::kTunerTypeQPSK == card_type || 667 669 DTVTunerType::kTunerTypeDVB_S2 == card_type); … … 747 749 748 750 if (reset || !prev_tuning.IsEqual(card_type, tuning, 500 * freq_mult)) 749 751 { 750 VERBOSE(VB_CHANNEL, LOC + "Tune(): Tuning ...");752 VERBOSE(VB_CHANNEL, LOC + QString("Tune(): Tuning with %1 properties...").arg(cmds.num)); 751 753 if (ioctl(fd_frontend, FE_SET_PROPERTY, &cmds) < 0) 752 754 { 753 755 VERBOSE(VB_IMPORTANT, LOC_ERR + "Tune(): " + … … 1322 1324 else 1323 1325 { 1324 1326 VERBOSE(VB_IMPORTANT, "Unknown tuner type." + ENO); 1327 return false; 1325 1328 } 1326 1329 return true; 1327 1330 }
