Ticket #7614: StartingRecording_segfault.patch

File StartingRecording_segfault.patch, 694 bytes (added by david.madsen@…, 14 years ago)

patch for TVRec::StartRecording?() segfault

  • libs/libmythtv/tv_rec.cpp

     
    548548    // Flush out events...
    549549    WaitForEventThreadSleep();
    550550
     551    // Rescan pending recordings since the event loop may have deleted
     552    // a stale entry.  If this happens the info pointer will not be valid
     553    // since the HandlePendingRecordings loop will have deleted it.
     554    it = pendingRecordings.find(cardid);
     555
    551556    // If the needed input is in a shared input group, and we are
    552557    // not canceling the recording anyway, check other recorders
    553558    if (!cancelNext &&