From 06b53d61c950469e7539449381f8344ece5154a1 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 25 Oct 2006 17:53:09 +0000 Subject: [PATCH] record dvb subtitles --- lib/service/servicedvbrecord.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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::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); -- 2.30.2