summaryrefslogtreecommitdiff
path: root/libsi
diff options
context:
space:
mode:
Diffstat (limited to 'libsi')
-rw-r--r--libsi/descriptor.c6
-rw-r--r--libsi/descriptor.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/libsi/descriptor.c b/libsi/descriptor.c
index 51037749..685722e7 100644
--- a/libsi/descriptor.c
+++ b/libsi/descriptor.c
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: descriptor.c 1.11 2004/03/20 10:51:49 kls Exp $
+ * $Id: descriptor.c 1.12 2004/03/26 15:25:28 kls Exp $
* *
***************************************************************************/
@@ -549,6 +549,10 @@ int SubtitlingDescriptor::Subtitling::getAncillaryPageId() const {
void SubtitlingDescriptor::Subtitling::Parse() {
s=data.getData<const item_subtitling>();
+ languageCode[0]=s->lang_code1;
+ languageCode[1]=s->lang_code2;
+ languageCode[2]=s->lang_code3;
+ languageCode[3]=0;
}
int ServiceMoveDescriptor::getNewOriginalNetworkId() const {
diff --git a/libsi/descriptor.h b/libsi/descriptor.h
index 692563fc..db3bba61 100644
--- a/libsi/descriptor.h
+++ b/libsi/descriptor.h
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: descriptor.h 1.8 2004/03/20 10:52:22 kls Exp $
+ * $Id: descriptor.h 1.9 2004/03/26 15:26:03 kls Exp $
* *
***************************************************************************/
@@ -285,6 +285,7 @@ class SubtitlingDescriptor : public Descriptor {
public:
class Subtitling : public Descriptor {
public:
+ char languageCode[4];
int getSubtitlingType() const;
int getCompositionPageId() const;
int getAncillaryPageId() const;