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

Issue 220113002: MSE: Pick frame processor in ChunkDemuxer::AddId; prepare unit tests to pick processor (Closed)

Created:
6 years, 8 months ago by wolenetz
Modified:
6 years, 8 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

MSE: Pick frame processor in ChunkDemuxer::AddId; prepare unit tests to pick processor In preparation for landing the new FrameProcessor, this change parameterizes WebMediaSourceImpl::addSourceBuffer() and ChunkDemuxer::AddId() to select which of legacy or new processor to use to process frames appended to the source buffer. This change also parameterizes ChunkDemuxerTests and the MSE subset of PipelineIntegrationTests to allow testing of both frame processors in the short term until the new processor has landed and stabilized enough. Since the MSE WebSourceBuffer API for Chromium platform in Blink is not yet stabilized, this change also removes related OVERRIDEs. R=acolwell@chromium.org BUG=249422 TEST=All media unittests pass locally on Linux with ChromeOS ffmpeg branding and proprietary codecs enabled, and no local MSE layout test regression Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261485

Patch Set 1 : Ready for review #

Total comments: 2

Patch Set 2 : Addressed comments: refactored to land after Blink change https://codereview.chromium.org/220593010 #

Total comments: 2

Patch Set 3 : Fixes patch set 2 nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -163 lines) Patch
M content/renderer/media/webmediasource_impl.h View 1 1 chunk +6 lines, -5 lines 0 comments Download
M content/renderer/media/webmediasource_impl.cc View 1 2 1 chunk +13 lines, -1 line 0 comments Download
M media/filters/chunk_demuxer.h View 2 chunks +7 lines, -3 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 3 chunks +10 lines, -4 lines 0 comments Download
M media/filters/chunk_demuxer_unittest.cc View 88 chunks +108 lines, -90 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 35 chunks +82 lines, -60 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
wolenetz
PTAL @ patch set 1. Thanks!
6 years, 8 months ago (2014-03-31 22:55:59 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm. You should probably send out the necessary Blink patch and get approval on the ...
6 years, 8 months ago (2014-04-01 15:55:13 UTC) #2
wolenetz
Thanks for comments. I've refactored things a little so: This (patch set 2) is now ...
6 years, 8 months ago (2014-04-02 01:43:40 UTC) #3
wolenetz
acolwell@, I forgot to ask for your l-g-t-m-2 for patch set 2 due to the ...
6 years, 8 months ago (2014-04-02 17:58:54 UTC) #4
acolwell GONE FROM CHROMIUM
lgtm https://codereview.chromium.org/220113002/diff/40001/content/renderer/media/webmediasource_impl.cc File content/renderer/media/webmediasource_impl.cc (right): https://codereview.chromium.org/220113002/diff/40001/content/renderer/media/webmediasource_impl.cc#newcode51 content/renderer/media/webmediasource_impl.cc:51: use_legacy_frame_processor = false; nit: I would have expected ...
6 years, 8 months ago (2014-04-02 18:03:14 UTC) #5
wolenetz
Thank you. Landing patch set 3 is now pending landing part 1 and rolling Blink. ...
6 years, 8 months ago (2014-04-02 18:11:22 UTC) #6
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 8 months ago (2014-04-02 23:42:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/220113002/60001
6 years, 8 months ago (2014-04-02 23:43:47 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-03 08:32:53 UTC) #9
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 8 months ago (2014-04-03 08:32:54 UTC) #10
wolenetz
The CQ bit was checked by wolenetz@chromium.org
6 years, 8 months ago (2014-04-03 17:15:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/220113002/60001
6 years, 8 months ago (2014-04-03 17:16:05 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-03 18:31:37 UTC) #13
Message was sent while issue was closed.
Change committed as 261485

Powered by Google App Engine
This is Rietveld 408576698