Ticket #1728: dvbrecorder_fix.patch

File dvbrecorder_fix.patch, 579 bytes (added by Janne <janne-mythtv@…>, 19 years ago)

fixes a segfault mythtv-eit branch

  • libs/libmythtv/dvbrecorder.cpp

    old new void DVBRecorder::SetStreamData(MPEGStre 
    279279            atsc->SetDesiredChannel(atsc->DesiredMajorChannel(),
    280280                                    atsc->DesiredMinorChannel());
    281281        else if (data->DesiredProgram() >= 0)
    282             data->SetDesiredProgram(atsc->DesiredProgram());
     282            data->SetDesiredProgram(data->DesiredProgram());
    283283    }
    284284}
    285285