Ticket #5192: t5192_set_rectype.diff

File t5192_set_rectype.diff, 655 bytes (added by Janne Grunau, 15 years ago)
  • mythtv/libs/libmythtv/tv_rec.cpp

    diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
    index b93826b..c458f3a 100644
    a b void TVRec::TuningNewRecorder(MPEGStreamData *streamData) 
    40604060    }
    40614061
    40624062    if (GetDTVRecorder() && streamData)
     4063    {
     4064        const Setting *setting = profile.byName("recordingtype");
     4065        if (setting)
     4066            streamData->SetRecordingType(setting->getValue());
    40634067        GetDTVRecorder()->SetStreamData(streamData);
     4068    }
    40644069
    40654070    if (channel && genOpt.cardtype == "MJPEG")
    40664071        channel->Open(); // Needed because of NVR::MJPEGInit()