diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-03-26 15:26:03 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-03-26 15:26:03 +0100 |
commit | 6552474ca4d3aad8f70b2ca34fabc7cb9d8b0f60 (patch) | |
tree | f3f81e022c234c5aa1a9cb068a5d5ca5f1f955e4 | |
parent | f12adec8c7a1dcc1bb23f7c82c6ccf500ceae6e1 (diff) | |
download | vdr-6552474ca4d3aad8f70b2ca34fabc7cb9d8b0f60.tar.gz vdr-6552474ca4d3aad8f70b2ca34fabc7cb9d8b0f60.tar.bz2 |
Added language code handling to the subtitling descriptor in 'libssi'
-rw-r--r-- | libsi/descriptor.c | 6 | ||||
-rw-r--r-- | libsi/descriptor.h | 3 |
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; |