summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index 1e85700..590271d 100644
--- a/channels.c
+++ b/channels.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.c 2.6 2009/04/25 13:57:32 kls Exp $
+ * $Id: channels.c 2.7 2009/08/16 15:08:49 kls Exp $
*/
#include "channels.h"
@@ -533,6 +533,22 @@ void cChannel::SetPids(int Vpid, int Ppid, int Vtype, int *Apids, char ALangs[][
}
}
+void cChannel::SetSubtitlingDescriptors(uchar *SubtitlingTypes, uint16_t *CompositionPageIds, uint16_t *AncillaryPageIds)
+{
+ if (SubtitlingTypes) {
+ for (int i = 0; i < MAXSPIDS; i++)
+ subtitlingTypes[i] = SubtitlingTypes[i];
+ }
+ if (CompositionPageIds) {
+ for (int i = 0; i < MAXSPIDS; i++)
+ compositionPageIds[i] = CompositionPageIds[i];
+ }
+ if (AncillaryPageIds) {
+ for (int i = 0; i < MAXSPIDS; i++)
+ ancillaryPageIds[i] = AncillaryPageIds[i];
+ }
+}
+
void cChannel::SetCaIds(const int *CaIds)
{
if (caids[0] && caids[0] <= CA_USER_MAX)