Advertisement
Guest User

Untitled

a guest
Jan 7th, 2015
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.97 KB | None | 0 0
  1. diff --git a/mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp b/mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
  2. index abb0ec7..98d1177 100644
  3. --- a/mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
  4. +++ b/mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
  5. @@ -601,12 +601,13 @@ bool MPEGStreamData::CreatePMTSingleProgram(const ProgramMapTable &pmt)
  6.          // Filter out streams not used for basic television
  7.          if (_recording_type == "tv" && !is_audio && !is_video &&
  8.              !MPEGDescriptor::Find(desc, DescriptorID::teletext) &&
  9. -            !MPEGDescriptor::Find(desc, DescriptorID::subtitling))
  10. +            !MPEGDescriptor::Find(desc, DescriptorID::subtitling) &&
  11. +            pid != pmt.PCRPID()) // We must not strip the PCR!
  12.          {
  13.              continue;
  14.          }
  15.  
  16. -        if (!is_audio && !is_video)
  17. +        if (!is_audio && !is_video) //NOTE: Anything which isn't audio or video is data
  18.              dataPIDs.push_back(pid);
  19.  
  20.          pdesc.push_back(desc);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement