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

Unified Diff: media/mp4/mp4_stream_parser_unittest.cc

Issue 10834101: Fix MP4StreamParser discard behavior when retaining 'moof'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tgt_offset -> offset Created 8 years, 5 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/mp4/mp4_stream_parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mp4/mp4_stream_parser_unittest.cc
diff --git a/media/mp4/mp4_stream_parser_unittest.cc b/media/mp4/mp4_stream_parser_unittest.cc
index 56f40dfaf74012b7627892f7b772c5dfdd65b738..6b4f4caa73b1302d26aa2a8f7ad3c62322ecee28 100644
--- a/media/mp4/mp4_stream_parser_unittest.cc
+++ b/media/mp4/mp4_stream_parser_unittest.cc
@@ -120,14 +120,17 @@ class MP4StreamParserTest : public testing::Test {
}
};
-
-
TEST_F(MP4StreamParserTest, TestUnalignedAppend) {
// Test small, non-segment-aligned appends (small enough to exercise
// incremental append system)
ParseMP4File("bear.1280x720_dash.mp4", 512);
}
+TEST_F(MP4StreamParserTest, TestBytewiseAppend) {
+ // Ensure no incremental errors occur when parsing
+ ParseMP4File("bear.1280x720_dash.mp4", 1);
+}
+
TEST_F(MP4StreamParserTest, TestMultiFragmentAppend) {
// Large size ensures multiple fragments are appended in one call (size is
// larger than this particular test file)
@@ -147,5 +150,8 @@ TEST_F(MP4StreamParserTest, TestReinitialization) {
512));
}
+// TODO(strobe): Create and test media which uses CENC auxiliary info stored
+// inside a private box
+
} // namespace mp4
} // namespace media
« no previous file with comments | « media/mp4/mp4_stream_parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698