mkvparser: read track language information

Track::GetLanguageAsUTF8 is implemented to allow the user to
choose between available audio and subtitle tracks.

Change-Id: I5ec9b1c1c00182da759681ba486cbace46e9b63f
This commit is contained in:
Patrik Carlsson
2013-02-27 15:38:21 +01:00
committed by Johan Redestig
parent 1274be1184
commit 3980cf4159
2 changed files with 25 additions and 0 deletions

View File

@@ -334,6 +334,7 @@ public:
long GetNumber() const;
unsigned long long GetUid() const;
const char* GetNameAsUTF8() const;
const char* GetLanguage() const;
const char* GetCodecNameAsUTF8() const;
const char* GetCodecId() const;
const unsigned char* GetCodecPrivate(size_t&) const;
@@ -362,6 +363,7 @@ public:
long number;
unsigned long long uid;
char* nameAsUTF8;
char* language;
char* codecId;
char* codecNameAsUTF8;
unsigned char* codecPrivate;