Ticket #7624: 7624-1.patch

File 7624-1.patch, 945 bytes (added by Mark de Reeper <markdr@…>, 11 years ago)

Initial patch for 7624

  • libs/libmythtv/hdhrstreamhandler.cpp

     
    692692        return QString::null;
    693693    }
    694694
    695     if (error && name == QString("channel"))
    696     {
    697         QString newval = val;
    698         newval.replace("qam_256", "qam");
    699         newval.replace("qam_64", "qam");
    700         return TunerSet(name, newval, report_error_return, print_error);
    701     }
     695    if (error && name == QString("channel"))
     696    {
     697        if (val.contains("qam_256") || val.contains("qam_64"))
     698        {
     699            QString newval = val;
     700            newval.replace("qam_256", "qam");
     701            newval.replace("qam_64", "qam");
     702            return TunerSet(name, newval, report_error_return, print_error);
     703        }
     704    }
    702705
    703706    if (report_error_return && error)
    704707    {