Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / media / formats / mp4 / mp4_stream_parser_unittest.cc
index c44e0ce..5bcb7ad 100644 (file)
@@ -25,8 +25,7 @@ using base::TimeDelta;
 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 kCencInitDataType[] = "cenc";
 
 class MP4StreamParserTest : public testing::Test {
  public:
@@ -122,7 +121,7 @@ class MP4StreamParserTest : public testing::Test {
   void KeyNeededF(const std::string& type,
                   const std::vector<uint8>& init_data) {
     DVLOG(1) << "KeyNeededF: " << init_data.size();
-    EXPECT_EQ(kMp4InitDataType, type);
+    EXPECT_EQ(kCencInitDataType, type);
     EXPECT_FALSE(init_data.empty());
   }