Added track language support to TS and DTSC internals

This commit is contained in:
Thulinma 2016-07-13 11:43:41 +02:00
parent a73f97e065
commit 3844dac4fd
4 changed files with 127 additions and 6 deletions

View file

@ -102,6 +102,16 @@ namespace TS {
std::string toPrettyString(size_t indent) const;
};
class ProgramDescriptors {
public:
ProgramDescriptors(const char * data, const uint32_t len);
std::string getLanguage() const;
std::string toPrettyString(size_t indent) const;
private:
const char * p_data;
const uint32_t p_len;
};
class ProgramMappingEntry {
public:
ProgramMappingEntry(char * begin, char * end);