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

Unified Diff: media/formats/mp4/mp4_stream_parser.cc

Issue 611513005: Pass initDataType instead of contentType on OnNeedKey(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/mp4_stream_parser.cc
diff --git a/media/formats/mp4/mp4_stream_parser.cc b/media/formats/mp4/mp4_stream_parser.cc
index 7ad3ccc38649a726fcbf1133507241fb809a73c3..84d80f9191031bec0af1ee0a92cb40a117067739 100644
--- a/media/formats/mp4/mp4_stream_parser.cc
+++ b/media/formats/mp4/mp4_stream_parser.cc
@@ -22,8 +22,7 @@
namespace media {
namespace mp4 {
-// TODO(xhwang): Figure out the init data type appropriately once it's spec'ed.
-static const char kMp4InitDataType[] = "video/mp4";
+static const char kMp4InitDataType[] = "cenc";
ddorwin 2014/09/26 22:09:18 nit: s/Mp4/Cenc/ - IDT != container :)
sandersd (OOO until July 31) 2014/09/26 22:49:56 Done.
MP4StreamParser::MP4StreamParser(const std::set<int>& audio_object_types,
bool has_sbr)

Powered by Google App Engine
This is Rietveld 408576698