summaryrefslogtreecommitdiff
path: root/libsi/descriptor.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-24 14:49:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-24 14:49:51 +0100
commit72189b52280e77409f49bcb79c46ba63cb774e2b (patch)
tree4823d6ef427b6668acc496d0a8f6f68408ea1c52 /libsi/descriptor.c
parenta4b743b355bf0b2599c534611420af38591dd343 (diff)
downloadvdr-72189b52280e77409f49bcb79c46ba63cb774e2b.tar.gz
vdr-72189b52280e77409f49bcb79c46ba63cb774e2b.tar.bz2
Added ISO639LanguageDescriptor to 'libsi'
Diffstat (limited to 'libsi/descriptor.c')
-rw-r--r--libsi/descriptor.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libsi/descriptor.c b/libsi/descriptor.c
index 4f4ef341..a72ec009 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.3 2004/01/12 16:17:20 kls Exp $
+ * $Id: descriptor.c 1.4 2004/01/24 14:49:00 kls Exp $
* *
***************************************************************************/
@@ -514,6 +514,14 @@ LinkageType LinkageDescriptor::getLinkageType() const {
return (LinkageType)s->linkage_type;
}
+void ISO639LanguageDescriptor::Parse() {
+ unsigned int offset=0;
+ data.setPointerAndOffset<const descr_iso_639_language>(s, offset);
+ languageCode[0]=s->lang_code1;
+ languageCode[1]=s->lang_code2;
+ languageCode[2]=s->lang_code3;
+}
+
void ApplicationSignallingDescriptor::Parse() {
entryLoop.setData(data+sizeof(descr_application_signalling), getLength()-sizeof(descr_application_signalling));
}