Ticket #6314: data_pid_filtering.diff

File data_pid_filtering.diff, 851 bytes (added by Shane Shrybman, 11 years ago)
  • libs/libmythtv/mpeg/mpegstreamdata.cpp

     
    169169void MPEGStreamData::Reset(int desiredProgram)
    170170{
    171171    _desired_program       = desiredProgram;
    172     _recording_type        = "all";
    173172    _strip_pmt_descriptors = false;
    174173    _normalize_stream_type = true;
    175174
     
    581580            desc.clear();
    582581
    583582        // Filter out streams not used for basic television
    584         if (_recording_type == "tv" && !is_audio && !is_video &&
     583        if (_recording_type != "all" && !is_audio && !is_video &&
    585584            !MPEGDescriptor::Find(desc, DescriptorID::teletext) &&
    586585            !MPEGDescriptor::Find(desc, DescriptorID::subtitling))
    587586        {