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

Unified Diff: LayoutTests/http/tests/media/media-source/mediasource-util.js

Issue 215863002: MSE: Update tests to expect failure w.r.t. Chromium LegacyFrameProcessor duration logic change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update unprefixed MP4 layout test duration Created 6 years, 9 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: LayoutTests/http/tests/media/media-source/mediasource-util.js
diff --git a/LayoutTests/http/tests/media/media-source/mediasource-util.js b/LayoutTests/http/tests/media/media-source/mediasource-util.js
index aa4790b4647a155e36b391cd1ec3991c263fa4a0..80af1226a196138cbc46a71e18d4c9352db3c972 100644
--- a/LayoutTests/http/tests/media/media-source/mediasource-util.js
+++ b/LayoutTests/http/tests/media/media-source/mediasource-util.js
@@ -11,7 +11,12 @@
{
url: '/media/resources/media-source/webm/test.webm',
type: 'video/webm; codecs="vp8, vorbis"',
- duration: 6.042,
+ // FIXME: Get the init segment duration fixed to match duration after append.
+ // See http://crbug.com/354284.
+ durationInInitSegment: 6.042,
+ duration: 6.051,
+ // Supports jagged-ended stream end timestamps with some less than duration:
+ bufferedRangeEndBeforeEndOfStream: 6.042,
init: { offset: 0, size: 4357 },
media: [
{ offset: 4357, size: 11830, timecode: 0 },
@@ -35,7 +40,9 @@
{
url: '/media/resources/media-source/mp4/test.mp4',
type: 'video/mp4; codecs="mp4a.40.2, avc1.4D401E"',
- duration: 6.0368,
+ durationInInitSegment: 6.0368,
+ duration: 6.0424,
+ bufferedRangeEndBeforeEndOfStream: 6.0368,
init: { offset: 0, size: 1178 },
media: [
{ offset: 1246, size: 23828, timecode: 0 },

Powered by Google App Engine
This is Rietveld 408576698