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

Issue 13419002: Media Source dispatches inband text tracks (Closed)

Created:
7 years, 8 months ago by Matthew Heaney (Chromium)
Modified:
7 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Media Source dispatches inband text tracks The Media Source (WebM) parser now detects the presence of inband text tracks. As frames of inband text (WebVTT cues) are found in the network stream, they are pushed up the media stack. BUG=230708 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201716

Patch Set 1 #

Total comments: 24

Patch Set 2 : incorporated Frank's comments #

Total comments: 26

Patch Set 3 : change callback mechanism, per aaron's comments #

Patch Set 4 : incorporated more of aaron's comments #

Patch Set 5 : clean compile #

Total comments: 27

Patch Set 6 : incorporated aaron's comments #

Total comments: 32

Patch Set 7 : incorporate aaron's comments #

Patch Set 8 : added pipeline integration unit test #

Patch Set 9 : added webvtt parser unit test #

Patch Set 10 : rebase #

Total comments: 10

Patch Set 11 : incorporated aaron's comments #

Total comments: 32

Patch Set 12 : incorporated aaron's comments #

Patch Set 13 : add override indicator #

Patch Set 14 : fix signature of mp4 init method #

Patch Set 15 : fix mp4 unit test #

Patch Set 16 : fix android build #

Patch Set 17 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+703 lines, -15 lines) Patch
M media/base/stream_parser.h View 1 2 3 4 5 6 3 chunks +11 lines, -0 lines 0 comments Download
A media/base/text_track.h View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer.h View 1 2 3 4 5 6 4 chunks +9 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 4 5 6 9 chunks +59 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -1 line 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +16 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -0 lines 0 comments Download
M media/mp4/mp4_stream_parser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M media/mp4/mp4_stream_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M media/mp4/mp4_stream_parser_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +15 lines, -0 lines 0 comments Download
M media/webm/webm_parser.h View 1 chunk +0 lines, -9 lines 0 comments Download
M media/webm/webm_stream_parser.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -0 lines 0 comments Download
M media/webm/webm_stream_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +49 lines, -2 lines 0 comments Download
M media/webm/webm_tracks_parser.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A media/webm/webm_webvtt_parser.h View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -0 lines 0 comments Download
A media/webm/webm_webvtt_parser.cc View 1 2 3 4 5 6 1 chunk +78 lines, -0 lines 0 comments Download
A media/webm/webm_webvtt_parser_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +105 lines, -0 lines 0 comments Download
M webkit/media/android/media_source_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/media/android/media_source_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +9 lines, -0 lines 0 comments Download
A webkit/media/texttrack_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +37 lines, -0 lines 0 comments Download
A webkit/media/texttrack_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +32 lines, -0 lines 0 comments Download
A webkit/media/webinbandtexttrack_impl.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A webkit/media/webinbandtexttrack_impl.cc View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -1 line 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +8 lines, -0 lines 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +22 lines, -1 line 0 comments Download

Messages

Total messages: 29 (0 generated)
Matthew Heaney (Chromium)
First draft of changes need to support inband text tracks.
7 years, 8 months ago (2013-04-02 01:42:04 UTC) #1
fgalligan1
This CL probably should have had some text saying that the current block is that ...
7 years, 8 months ago (2013-04-02 19:38:32 UTC) #2
scherkus (not reviewing)
thanks for getting this uploaded I'll defer to acolwell to the chunk demuxer / webm ...
7 years, 8 months ago (2013-04-04 01:03:46 UTC) #3
Matthew Heaney (Chromium)
https://codereview.chromium.org/13419002/diff/1/media/filters/chunk_demuxer.h File media/filters/chunk_demuxer.h (right): https://codereview.chromium.org/13419002/diff/1/media/filters/chunk_demuxer.h#newcode39 media/filters/chunk_demuxer.h:39: // TODO(matthewjheaney): temp hack to test cue rendering Augmented ...
7 years, 8 months ago (2013-04-04 04:01:52 UTC) #4
acolwell GONE FROM CHROMIUM
This looks like a good start. I agree with Andrew that this should be split ...
7 years, 8 months ago (2013-04-05 16:29:23 UTC) #5
Matthew Heaney (Chromium)
I need some clarification about the suggested changes to the callbacks for handling text tracks. ...
7 years, 7 months ago (2013-05-08 19:53:00 UTC) #6
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/13419002/diff/12001/media/base/pipeline_status.h File media/base/pipeline_status.h (right): https://codereview.chromium.org/13419002/diff/12001/media/base/pipeline_status.h#newcode76 media/base/pipeline_status.h:76: const std::string& language)> TextTrackCB; On 2013/05/08 19:53:00, Matthew Heaney ...
7 years, 7 months ago (2013-05-08 20:51:29 UTC) #7
Matthew Heaney (Chromium)
Please review the latest batch of changes. I changed the callback mechanism per the sketch ...
7 years, 7 months ago (2013-05-09 03:53:11 UTC) #8
Matthew Heaney (Chromium)
Tom and I studied the compile problem we were having binding the callback. We changed ...
7 years, 7 months ago (2013-05-09 20:00:09 UTC) #9
acolwell GONE FROM CHROMIUM
Here is an initial round of comments. Please also try to clean up as many ...
7 years, 7 months ago (2013-05-10 02:22:08 UTC) #10
Matthew Heaney (Chromium)
This revision incorporates the most recent comments from Aaron, resolving a few of the questions ...
7 years, 7 months ago (2013-05-10 05:21:08 UTC) #11
acolwell GONE FROM CHROMIUM
Getting closer. :) Here are a few more comments. https://codereview.chromium.org/13419002/diff/43001/media/filters/chunk_demuxer.cc File media/filters/chunk_demuxer.cc (right): https://codereview.chromium.org/13419002/diff/43001/media/filters/chunk_demuxer.cc#newcode716 media/filters/chunk_demuxer.cc:716: ...
7 years, 7 months ago (2013-05-10 18:41:39 UTC) #12
Matthew Heaney (Chromium)
Incorporated the latest comments from Aaron. Some of the text buffer handling moved back up ...
7 years, 7 months ago (2013-05-11 07:29:12 UTC) #13
Matthew Heaney (Chromium)
I just pushed up a delta that adds a pipeline integration unit test.
7 years, 7 months ago (2013-05-13 20:26:33 UTC) #14
Matthew Heaney (Chromium)
Added a unit test for the webvtt parser.
7 years, 7 months ago (2013-05-13 22:07:29 UTC) #15
acolwell GONE FROM CHROMIUM
Looks good. Just a few things that need to be resolved before I can give ...
7 years, 7 months ago (2013-05-15 22:42:36 UTC) #16
Matthew Heaney (Chromium)
Resolves an issue with respect to lifetime of the WebInbandTextTrack object. https://chromiumcodereview.appspot.com/13419002/diff/70001/media/filters/pipeline_integration_test.cc File media/filters/pipeline_integration_test.cc (right): ...
7 years, 7 months ago (2013-05-16 22:05:22 UTC) #17
acolwell GONE FROM CHROMIUM
LGTM % nits You'll have to wait for a Blink DEPS roll before landing this. ...
7 years, 7 months ago (2013-05-17 16:32:08 UTC) #18
Matthew Heaney (Chromium)
I incorporated Aaron's comments. https://codereview.chromium.org/13419002/diff/76001/media/filters/chunk_demuxer_unittest.cc File media/filters/chunk_demuxer_unittest.cc (right): https://codereview.chromium.org/13419002/diff/76001/media/filters/chunk_demuxer_unittest.cc#newcode784 media/filters/chunk_demuxer_unittest.cc:784: // TODO(matthewjheaney): put something here ...
7 years, 7 months ago (2013-05-18 01:35:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/matthewjheaney@chromium.org/13419002/96001
7 years, 7 months ago (2013-05-21 19:08:58 UTC) #20
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-21 19:30:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/matthewjheaney@chromium.org/13419002/116001
7 years, 7 months ago (2013-05-21 19:59:11 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-21 20:23:07 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/matthewjheaney@chromium.org/13419002/133001
7 years, 7 months ago (2013-05-21 22:37:21 UTC) #24
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-21 23:05:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/matthewjheaney@chromium.org/13419002/147001
7 years, 7 months ago (2013-05-22 00:53:34 UTC) #26
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=42437
7 years, 7 months ago (2013-05-22 08:08:12 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/matthewjheaney@chromium.org/13419002/185001
7 years, 7 months ago (2013-05-22 18:51:22 UTC) #28
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 06:47:55 UTC) #29
Message was sent while issue was closed.
Change committed as 201716

Powered by Google App Engine
This is Rietveld 408576698