Ticket #8498: scheduler_crash.diff

File scheduler_crash.diff, 796 bytes (added by stuartm, 14 years ago)

Potential fix

  • mythtv/programs/mythbackend/scheduler.cpp

     
    40494049            (recstartts > thispg->GetRecordingEndTime()) ||
    40504050                (thispg->GetRecordingStatus() != rsWillRecord) ||
    40514051                (thispg->GetCardID() == 0) ||
    4052                 (recsCounted.contains(thispg->GetChanID() + ":" +
    4053                     thispg->GetRecordingStartTime(ISODate))) ||
     4052                (recsCounted.contains(QString::number(thispg->GetChanID())
     4053                    + ":" + thispg->GetRecordingStartTime(ISODate))) ||
    40544054                (thispg->GetPathname().isEmpty()))
    40554055            continue;
    40564056