aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicedvbrecord.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-25 17:53:09 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-25 17:53:09 +0000
commit06b53d61c950469e7539449381f8344ece5154a1 (patch)
treee2a2d877a5064d7412c6985f0d3735d66dea7021 /lib/service/servicedvbrecord.cpp
parent015545dc0fb37a24f6ad4d2820d34a16bd385f94 (diff)
downloadenigma2-06b53d61c950469e7539449381f8344ece5154a1.tar.gz
enigma2-06b53d61c950469e7539449381f8344ece5154a1.zip
record dvb subtitles
Diffstat (limited to 'lib/service/servicedvbrecord.cpp')
-rw-r--r--lib/service/servicedvbrecord.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/service/servicedvbrecord.cpp b/lib/service/servicedvbrecord.cpp
index 4c41b5ed..0c5777a3 100644
--- a/lib/service/servicedvbrecord.cpp
+++ b/lib/service/servicedvbrecord.cpp
@@ -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);