Ticket #6612: LiveTV_no_previewgen_for_dummy.diff

File LiveTV_no_previewgen_for_dummy.diff, 605 bytes (added by Shane Shrybman, 11 years ago)
  • mythtv/libs/libmythtv/tv_rec.cpp

    bool TVRec::SwitchLiveTVRingBuffer(bool discont, bool set_rec) 
    44484448    if (oldinfo)
    44494449    {
    44504450        FinishedRecording(oldinfo);
    4451         (new PreviewGenerator(oldinfo, PreviewGenerator::kLocal))->Start();
     4451        if (tvchain->GetCardType(-1) != "DUMMY")
     4452            (new PreviewGenerator(oldinfo, PreviewGenerator::kLocal))->Start();
    44524453        delete oldinfo;
    44534454    }
    44544455