Ticket #4471: t4473_v3.diff
File t4473_v3.diff, 2.0 KB (added by , 16 years ago) |
---|
-
libs/libmythtv/dvbchannel.h
131 131 /// Last tuning options Tune() succesfully sent to hardware 132 132 DTVMultiplex prev_tuning; 133 133 134 uint last_lnb_dev_id; 135 134 136 uint tuning_delay;///< Extra delay to add for broken drivers 135 137 uint sigmon_delay;///< Minimum delay between FE_LOCK checks 136 138 bool first_tune; ///< Used to force hardware reset -
libs/libmythtv/dvbchannel.cpp
73 73 frontend_name(QString::null), card_type(DTVTunerType::kTunerTypeUnknown), 74 74 // Tuning 75 75 tune_lock(false), hw_lock(false), 76 last_lnb_dev_id(-1), 76 77 tuning_delay(0), sigmon_delay(25), 77 78 first_tune(true), 78 79 // Misc … … 706 707 // send DVB-S setup 707 708 if (is_dvbs) 708 709 { 709 // make sure we tune to frequency, no matter what happens..710 // causes glitches after multirec merge711 //reset = first_tune = true;712 713 710 // configure for new input 714 711 if (!same_input) 715 712 diseqc_settings.Load(inputid); 716 713 717 714 // execute diseqc commands 718 715 if (!diseqc_tree->Execute(diseqc_settings, tuning)) 719 716 { … … 730 727 "No LNB for this configuration"); 731 728 return false; 732 729 } 730 731 if (lnb->GetDeviceID() != last_lnb_dev_id) 732 { 733 last_lnb_dev_id = lnb->GetDeviceID(); 734 // make sure we tune to frequency, if the lnb has changed 735 reset = first_tune = true; 736 } 737 733 738 params.frequency = lnb->GetIntermediateFrequency( 734 739 diseqc_settings, tuning); 735 740