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

Issue 691313002: MSE: Implement TrackDefault object (Closed)

Created:
6 years, 1 month ago by wolenetz
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-html_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium, acolwell GONE FROM CHROMIUM
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

MSE: Implement TrackDefault object This change implements the TrackDefault object, which will be required for compliant SourceBuffer initialization segment received algorithm implementation and related track management. emptyAtom() is added as a valid audio and video kind in {Audio,Video}Track::isValidKindKeyword(). Previous usage of those methods is not impacted, because they were only called by TrackBase::setKind(), and defaultKind() is the empty string. BUG=249428 R=philipj@opera.com,sof@opera.com TEST=mediasource-trackdefault Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185736

Patch Set 1 #

Total comments: 14

Patch Set 2 : Interim upload not ready for review. BIG TODO needs addressing. #

Total comments: 2

Patch Set 3 : Address comment, fix layout test #

Total comments: 2

Patch Set 4 : Simplify layout test and fix logic for an edge case in test #

Patch Set 5 : Update comment relative to 04-11 Nov 2014 MSE spec update #

Patch Set 6 : Add TrackDefault to global constructors layout test expectation #

Total comments: 6

Patch Set 7 : Address sof@'s PS6 comments and add a couple tests for constructor TypeError #

Total comments: 26

Patch Set 8 : Address (most of) philipj@'s PS7 comments and add one more test #

Total comments: 2

Patch Set 9 : Fix rel compile and assume w3c bug 27352 is fixed #

Patch Set 10 : Rebased and addressed PS9 comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -8 lines) Patch
A LayoutTests/http/tests/media/media-source/mediasource-trackdefault.html View 1 2 3 4 5 6 7 8 1 chunk +109 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/media/media-source/mediasource-trackdefault-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +30 lines, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/track/AudioTrack.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/html/track/AudioTrack.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/html/track/TextTrack.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrack.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/VideoTrack.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/html/track/VideoTrack.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
A Source/modules/mediasource/TrackDefault.h View 1 2 3 4 5 6 7 8 9 1 chunk +52 lines, -0 lines 0 comments Download
A Source/modules/mediasource/TrackDefault.cpp View 1 2 3 4 5 6 7 8 1 chunk +103 lines, -0 lines 0 comments Download
A Source/modules/mediasource/TrackDefault.idl View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (5 generated)
wolenetz
Philip - this CL still needs layout tests, but I wanted to get this out ...
6 years, 1 month ago (2014-10-31 00:59:02 UTC) #1
philipj_slow
This looks like a good start. Most of my feedback would actually require spec changes, ...
6 years, 1 month ago (2014-10-31 11:48:10 UTC) #2
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/691313002/diff/1/Source/modules/mediasource/TrackDefault.cpp File Source/modules/mediasource/TrackDefault.cpp (right): https://codereview.chromium.org/691313002/diff/1/Source/modules/mediasource/TrackDefault.cpp#newcode35 Source/modules/mediasource/TrackDefault.cpp:35: // 1. if |language| is not an empty string ...
6 years, 1 month ago (2014-10-31 19:14:30 UTC) #4
philipj_slow
https://codereview.chromium.org/691313002/diff/1/Source/modules/mediasource/TrackDefault.cpp File Source/modules/mediasource/TrackDefault.cpp (right): https://codereview.chromium.org/691313002/diff/1/Source/modules/mediasource/TrackDefault.cpp#newcode35 Source/modules/mediasource/TrackDefault.cpp:35: // 1. if |language| is not an empty string ...
6 years, 1 month ago (2014-10-31 19:55:16 UTC) #5
wolenetz
Patch set 2 isn't for review. It's just a checkpoint while I work out some ...
6 years, 1 month ago (2014-11-01 00:24:03 UTC) #6
philipj_slow
https://codereview.chromium.org/691313002/diff/20001/Source/modules/mediasource/TrackDefault.cpp File Source/modules/mediasource/TrackDefault.cpp (right): https://codereview.chromium.org/691313002/diff/20001/Source/modules/mediasource/TrackDefault.cpp#newcode55 Source/modules/mediasource/TrackDefault.cpp:55: exceptionState.throwDOMException(InvalidAccessError, "Invalid audio track default kind at index " ...
6 years, 1 month ago (2014-11-01 23:10:22 UTC) #7
wolenetz
PTAL @ PS3: acolwell: fyi philipj: OWNERS Note, the BCP-47 language validation is not implemented ...
6 years, 1 month ago (2014-11-03 21:21:56 UTC) #8
wolenetz
On 2014/11/03 21:21:56, wolenetz wrote: > PTAL @ PS3: > acolwell: fyi > philipj: OWNERS ...
6 years, 1 month ago (2014-11-03 21:23:19 UTC) #9
wolenetz
I found an issue with PS3 that I'll fix shortly. https://codereview.chromium.org/691313002/diff/40001/LayoutTests/http/tests/media/media-source/mediasource-trackdefault.html File LayoutTests/http/tests/media/media-source/mediasource-trackdefault.html (right): https://codereview.chromium.org/691313002/diff/40001/LayoutTests/http/tests/media/media-source/mediasource-trackdefault.html#newcode35 ...
6 years, 1 month ago (2014-11-03 21:33:36 UTC) #10
wolenetz
PTAL @ PS4. Same reviewers and comments as earlier PS3 review request. Thanks! https://codereview.chromium.org/691313002/diff/40001/LayoutTests/http/tests/media/media-source/mediasource-trackdefault.html File ...
6 years, 1 month ago (2014-11-03 21:39:51 UTC) #11
wolenetz
Please take a look at patch set 6. philipj@: Everything. oilpan-reviews@: TrackDefault.{idl, cpp, h}: I ...
6 years, 1 month ago (2014-11-13 19:14:01 UTC) #13
wolenetz
On 2014/11/13 19:14:01, wolenetz wrote: > Please take a look at patch set 6. > ...
6 years, 1 month ago (2014-11-13 19:36:57 UTC) #14
sof
Thanks for looping in oilpan-reviews; TrackDefault looks just fine wrt Oilpan. https://codereview.chromium.org/691313002/diff/100001/Source/modules/mediasource/TrackDefault.h File Source/modules/mediasource/TrackDefault.h (right): ...
6 years, 1 month ago (2014-11-13 20:45:43 UTC) #16
wolenetz
Thank you, sof@. philipj@ and sof@, please take a look at patch set 7: philipj@: ...
6 years, 1 month ago (2014-11-13 22:56:40 UTC) #17
sof
TrackDefault lgtm
6 years, 1 month ago (2014-11-14 06:13:10 UTC) #18
philipj_slow
LGTM % nits. Sincere apologies for how long this took, after BlinkOn there was much ...
6 years, 1 month ago (2014-11-14 12:03:37 UTC) #19
wolenetz
Thanks for the reviews. philipj@, please take a look at patch set 7, especially regarding ...
6 years, 1 month ago (2014-11-17 21:51:08 UTC) #20
wolenetz
On 2014/11/17 21:51:08, wolenetz wrote: > Thanks for the reviews. > philipj@, please take a ...
6 years, 1 month ago (2014-11-17 21:52:29 UTC) #21
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/691313002/diff/140001/Source/modules/mediasource/TrackDefault.cpp File Source/modules/mediasource/TrackDefault.cpp (right): https://codereview.chromium.org/691313002/diff/140001/Source/modules/mediasource/TrackDefault.cpp#newcode50 Source/modules/mediasource/TrackDefault.cpp:50: exceptionState.throwDOMException(InvalidAccessError, "Invalid audio track default kind '" + kind ...
6 years, 1 month ago (2014-11-17 22:06:48 UTC) #23
wolenetz
On 2014/11/17 22:06:48, acolwell GONE FROM CHROMIUM wrote: > https://codereview.chromium.org/691313002/diff/140001/Source/modules/mediasource/TrackDefault.cpp > File Source/modules/mediasource/TrackDefault.cpp (right): > ...
6 years, 1 month ago (2014-11-17 22:14:00 UTC) #24
wolenetz
philipj@: Sorry about the recent churn on this CL - I decided to address a ...
6 years, 1 month ago (2014-11-17 22:50:22 UTC) #25
philipj_slow
PS9 LGTM % kinds() return type https://codereview.chromium.org/691313002/diff/120001/Source/modules/mediasource/TrackDefault.h File Source/modules/mediasource/TrackDefault.h (right): https://codereview.chromium.org/691313002/diff/120001/Source/modules/mediasource/TrackDefault.h#newcode40 Source/modules/mediasource/TrackDefault.h:40: Vector<String> kinds() const ...
6 years, 1 month ago (2014-11-18 10:47:31 UTC) #26
wolenetz
Thanks for reviews! https://codereview.chromium.org/691313002/diff/120001/Source/modules/mediasource/TrackDefault.h File Source/modules/mediasource/TrackDefault.h (right): https://codereview.chromium.org/691313002/diff/120001/Source/modules/mediasource/TrackDefault.h#newcode40 Source/modules/mediasource/TrackDefault.h:40: Vector<String> kinds() const { return m_kinds; ...
6 years, 1 month ago (2014-11-20 23:10:55 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691313002/180001
6 years, 1 month ago (2014-11-20 23:12:10 UTC) #29
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 01:17:05 UTC) #30
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185736

Powered by Google App Engine
This is Rietveld 408576698