Ticket #3031: 3031_hack.diff

File 3031_hack.diff, 607 bytes (added by Janne Grunau, 13 years ago)

hackish patch, reemits cached PAT and PMT for error condition in dvbrecorder.cpp

  • libs/libmythtv/dvbrecorder.cpp

     
    730730        {
    731731            VERBOSE(VB_GENERAL, LOC_WARN +
    732732                    "Recording will not commence until a PMT is set.");
     733            // Hack: reset desired program to get PAT and PMT from streamdata
     734            if (_stream_data)
     735              _stream_data->SetDesiredProgram(_stream_data->DesiredProgram());
    733736            usleep(5000);
    734737            continue;
    735738        }