record dvb subtitles
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 25 Oct 2006 17:53:09 +0000 (17:53 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 25 Oct 2006 17:53:09 +0000 (17:53 +0000)
lib/service/servicedvbrecord.cpp

index 4c41b5edef539d82e28d9fc70d0822fdeaf685ba..0c5777a30e291a63fd28d3d38360d50e076c9178 100644 (file)
@@ -232,6 +232,21 @@ int eDVBServiceRecord::doRecord()
                        }
                        eDebugNoNewLine(")");
                }
+               if (!program.subtitleStreams.empty())
+               {
+                       eDebugNoNewLine(" (");
+                       for (std::vector<eDVBServicePMTHandler::subtitleStream>::const_iterator
+                               i(program.subtitleStreams.begin());
+                               i != program.subtitleStreams.end(); ++i)
+                       {
+                               pids_to_record.insert(i->pid);
+
+                               if (i != program.subtitleStreams.begin())
+                                       eDebugNoNewLine(", ");
+                               eDebugNoNewLine("%04x", i->pid);
+                       }
+                       eDebugNoNewLine(")");
+               }
                eDebugNoNewLine(", and the pcr pid is %04x", program.pcrPid);
                if (program.pcrPid != 0x1fff)
                        pids_to_record.insert(program.pcrPid);