Ticket #2528: 2528_setupDTVSigmon_by_SIstandard_DVB.diff

File 2528_setupDTVSigmon_by_SIstandard_DVB.diff, 1.1 KB (added by Janne <janne-mythtv@…>, 13 years ago)
  • mythtv/libs/libmythtv/tv_rec.cpp

    diff --git a/mythtv/libs/libmythtv/DVDRingBuffer.h b/mythtv/libs/libmythtv/DVDRingBuffer.h
    diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp
    index a3141c1..806feb7 100644
    a b bool TVRec::SetupDTVSignalMonitor(void) 
    16661666    bool fta = CardUtil::IgnoreEncrypted(
    16671667        GetCaptureCardNum(), channel->GetCurrentInput());
    16681668
     1669    QString sistandard = dtvchan->GetSIStandard();
     1670
    16691671    // Check if this is an ATSC Channel
    16701672    int major = dtvchan->GetMajorChannel();
    16711673    int minor = dtvchan->GetMinorChannel();
    bool TVRec::SetupDTVSignalMonitor(void) 
    17011703    // Check if this is an DVB channel
    17021704    int progNum = dtvchan->GetProgramNumber();
    17031705#ifdef USING_DVB
    1704     int netid   = dtvchan->GetOriginalNetworkID();
    1705     int tsid    = dtvchan->GetTransportID();
    1706     if (netid > 0 && tsid > 0 && progNum >= 0)
     1706    if (progNum >= 0 && sistandard == "dvb")
    17071707    {
     1708        int netid   = dtvchan->GetOriginalNetworkID();
     1709        int tsid    = dtvchan->GetTransportID();
     1710
    17081711        uint neededVideo = 0;
    17091712        uint neededAudio = 0;
    17101713