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

Unified Diff: media/formats/mp2t/mp2t_common.h

Issue 2239013002: Assign correct track ids to buffers emitted from StreamParsers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « media/formats/mp2t/es_parser_mpeg1audio.cc ('k') | media/formats/mp2t/mp2t_stream_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp2t/mp2t_common.h
diff --git a/media/formats/mp2t/mp2t_common.h b/media/formats/mp2t/mp2t_common.h
index 5c8947569c9a51eed1973749f02cb3a9b275e161..37e5891bb154ebdde76addb2db75ea3048958c80 100644
--- a/media/formats/mp2t/mp2t_common.h
+++ b/media/formats/mp2t/mp2t_common.h
@@ -17,4 +17,11 @@
} \
} while (0)
+namespace media {
+namespace mp2t {
+const int kMp2tAudioTrackId = 1;
+const int kMp2tVideoTrackId = 2;
+} // namespace media
+} // namespace mp2t
+
#endif // MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
« no previous file with comments | « media/formats/mp2t/es_parser_mpeg1audio.cc ('k') | media/formats/mp2t/mp2t_stream_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698