All pastes #675896 Raw Edit

Someone

public text v1 · immutable
#675896 ·published 2007-08-30 16:16 UTC
rendered paste body






bool DVBChannel::Tune(const DTVMultiplex &tuning,
                      QString inputname,
                      bool force_reset,
                      bool same_input)
{
    QMutexLocker lock(&tune_lock);

    if (master)
    {
        SetSIStandard(tuning.sistandard);
        first_tune = false;
        if (!master->IsOpen())
        {
            VERBOSE(VB_CHANNEL, LOC + "tuning on slave channel");
            inputname = GetInputByNum(nextInputID >= 0 ? nextInputID :
                                      currentInputID);
	    return master->Tune(tuning, inputname, force_reset, same_input);
	}
	return true;
    }