Tag Parser  6.2.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
matroskatrack.h
Go to the documentation of this file.
1 #ifndef MEDIA_MATROSKATRACK_H
2 #define MEDIA_MATROSKATRACK_H
3 
4 #include "../abstracttrack.h"
5 
6 namespace Media {
7 
8 class EbmlElement;
9 class MatroskaContainer;
10 
12 {
13  friend class MatroskaContainer;
14 
15 public:
16  MatroskaTrack(EbmlElement &trackElement);
17  ~MatroskaTrack();
18 
19  TrackType type() const;
20 
21  static MediaFormat codecIdToMediaFormat(const std::string &codecId);
22 
23 protected:
24  void internalParseHeader();
25 
26 private:
27  EbmlElement *m_trackElement;
28 };
29 
30 }
31 
32 #endif // MEDIA_MATROSKATRACK_H
Implementation of GenericContainer<MediaFileInfo, MatroskaTag, MatroskaTrack, EbmlElement>.
The EbmlElement class helps to parse EBML files such as Matroska files.
Definition: ebmlelement.h:50
TrackType
Specifies the track type.
Definition: abstracttrack.h:28
The AbstractTrack class parses and stores technical information about video, audio and other kinds of...
Definition: abstracttrack.h:40
Implementation of Media::AbstractTrack for the Matroska container.
Definition: matroskatrack.h:11
Contains all classes and functions of the TagInfo library.
Definition: exceptions.h:9
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
The MediaFormat class specifies the format of media data.
Definition: mediaformat.h:256