diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-03 15:19:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-03 15:19:00 +0200 |
commit | 2f4526e55ec1bdf3ff0e2a71411cb2ae3bed6f5c (patch) | |
tree | ff2f47a18c65729236270c432edfb72dd6b004f9 /libsi/descriptor.h | |
parent | 9e864aba12553c2bd5a157cf94b7fee49c6d88ce (diff) | |
download | vdr-2f4526e55ec1bdf3ff0e2a71411cb2ae3bed6f5c.tar.gz vdr-2f4526e55ec1bdf3ff0e2a71411cb2ae3bed6f5c.tar.bz2 |
Added support for multiple audio language codes in ISO639LanguageDescriptors to 'libsi'
Diffstat (limited to 'libsi/descriptor.h')
-rw-r--r-- | libsi/descriptor.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/libsi/descriptor.h b/libsi/descriptor.h index 73fd1059..476da3fb 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.12 2005/05/08 14:08:19 kls Exp $ + * $Id: descriptor.h 1.13 2005/09/03 15:17:35 kls Exp $ * * ***************************************************************************/ @@ -392,7 +392,18 @@ private: class ISO639LanguageDescriptor : public Descriptor { public: - char languageCode[4]; + char languageCode[4]; //for backwards compatibility + class Language : public LoopElement { + public: + virtual int getLength() { return sizeof(descr_iso_639_language_loop); } + char languageCode[4]; + AudioType getAudioType(); + protected: + virtual void Parse(); + private: + const descr_iso_639_language_loop *s; + }; + StructureLoop<Language> languageLoop; protected: virtual void Parse(); private: |