fix ChannelSelectionBase to work with SimpleChannelSelection
[enigma2.git] / lib / service / servicedvbrecord.cpp
index 856b8c96e97dcb1c855dc72d5e31cae77437c852..2f1dea0e38d9d452fb0a6a4fa59c712af168424e 100644 (file)
@@ -120,6 +120,11 @@ int eDVBServiceRecord::doRecord()
        {
                std::set<int> pids_to_record;
                
        {
                std::set<int> pids_to_record;
                
+               pids_to_record.insert(0); // PAT
+               
+               if (program.pmtPid != -1)
+                       pids_to_record.insert(program.pmtPid); // PMT
+               
                eDebugNoNewLine("RECORD: have %d video stream(s)", program.videoStreams.size());
                if (!program.videoStreams.empty())
                {
                eDebugNoNewLine("RECORD: have %d video stream(s)", program.videoStreams.size());
                if (!program.videoStreams.empty())
                {