Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(731)

Unified Diff: media/formats/mp4/box_definitions.h

Issue 1735003004: Implement reading of media track info from WebM and MP4 containers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@demuxer-tracks2
Patch Set: Mark WebMStreamParser with MEDIA_EXPORT to allow usage in unit tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/formats/mp4/box_definitions.h
diff --git a/media/formats/mp4/box_definitions.h b/media/formats/mp4/box_definitions.h
index e6a62bbace4fc666bd0a5ad081b2c33d45035495..02ae2871535d7b47b7c3602d67cdc20ed0b3eec2 100644
--- a/media/formats/mp4/box_definitions.h
+++ b/media/formats/mp4/box_definitions.h
@@ -163,6 +163,7 @@ struct MEDIA_EXPORT HandlerReference : Box {
DECLARE_BOX_METHODS(HandlerReference);
TrackType type;
+ std::string name;
};
struct MEDIA_EXPORT AVCDecoderConfigurationRecord : Box {
@@ -276,10 +277,13 @@ struct MEDIA_EXPORT SampleTable : Box {
struct MEDIA_EXPORT MediaHeader : Box {
DECLARE_BOX_METHODS(MediaHeader);
+ std::string language() const;
+
uint64_t creation_time;
uint64_t modification_time;
uint32_t timescale;
uint64_t duration;
+ uint16_t language_code;
};
struct MEDIA_EXPORT MediaInformation : Box {

Powered by Google App Engine
This is Rietveld 408576698