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

Issue 10836167: Move VideoDecoder initialization into VideoRendererBase. (Closed)

Created:
8 years, 4 months ago by acolwell GONE FROM CHROMIUM
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, pam+watch_chromium.org, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Move VideoDecoder initialization into VideoRendererBase to simplify implementing codec config changes during playback. BUG=141533 TEST=Existing PipelineTest.*, VideoRendererBaseTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151132

Patch Set 1 : #

Total comments: 24

Patch Set 2 : Addressing CR comments #

Patch Set 3 : rebased #

Patch Set 4 : Minor comment fixes #

Patch Set 5 : Rebase #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -233 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M media/base/filter_collection.h View 1 3 chunks +5 lines, -6 lines 0 comments Download
M media/base/filter_collection.cc View 1 4 chunks +5 lines, -20 lines 0 comments Download
M media/base/filter_collection_unittest.cc View 1 2 chunks +1 line, -35 lines 0 comments Download
M media/base/media_log.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M media/base/mock_filters.h View 1 2 1 chunk +11 lines, -9 lines 0 comments Download
M media/base/mock_filters.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/base/pipeline.h View 1 2 4 chunks +11 lines, -14 lines 2 comments Download
M media/base/pipeline.cc View 1 2 11 chunks +11 lines, -57 lines 0 comments Download
M media/base/pipeline_unittest.cc View 1 2 3 4 20 chunks +28 lines, -62 lines 0 comments Download
M media/base/video_renderer.h View 1 4 chunks +14 lines, -1 line 2 comments Download
M media/filters/pipeline_integration_test_base.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/video_renderer_base.h View 1 2 3 5 chunks +17 lines, -1 line 0 comments Download
M media/filters/video_renderer_base.cc View 1 5 chunks +60 lines, -6 lines 0 comments Download
M media/filters/video_renderer_base_unittest.cc View 6 chunks +36 lines, -8 lines 6 comments Download
M media/tools/player_wtl/movie.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/tools/player_x11/player_x11.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webkit/media/filter_helpers.cc View 1 2 chunks +4 lines, -7 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
acolwell GONE FROM CHROMIUM
8 years, 4 months ago (2012-08-09 00:50:54 UTC) #1
Ami GONE FROM CHROMIUM
The CL description could be more informative as to what's driving this change. http://codereview.chromium.org/10836167/diff/7005/media/base/filter_collection.h File ...
8 years, 4 months ago (2012-08-09 20:30:18 UTC) #2
xhwang
Drive-by with one question. http://codereview.chromium.org/10836167/diff/7005/media/filters/video_renderer_base.cc File media/filters/video_renderer_base.cc (right): http://codereview.chromium.org/10836167/diff/7005/media/filters/video_renderer_base.cc#newcode176 media/filters/video_renderer_base.cc:176: if (state_ == kStopped) Q: ...
8 years, 4 months ago (2012-08-09 21:38:29 UTC) #3
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/10836167/diff/7005/media/base/filter_collection.h File media/base/filter_collection.h (right): http://codereview.chromium.org/10836167/diff/7005/media/base/filter_collection.h#newcode43 media/base/filter_collection.h:43: bool IsEmpty() const; On 2012/08/09 20:30:18, Ami Fischman wrote: ...
8 years, 4 months ago (2012-08-09 22:23:31 UTC) #4
Ami GONE FROM CHROMIUM
lgtm
8 years, 4 months ago (2012-08-10 19:47:22 UTC) #5
acolwell GONE FROM CHROMIUM
brettw@ could you OWNERS review the one line change to content/renderer/render_view_impl.cc . Thanks.
8 years, 4 months ago (2012-08-10 20:24:24 UTC) #6
jamesr
content/renderer lgtm
8 years, 4 months ago (2012-08-10 21:51:36 UTC) #7
scherkus (not reviewing)
nice CL! post-commit drive by -- acolwell can you TBR the fixes? http://codereview.chromium.org/10836167/diff/27/media/base/pipeline.h File media/base/pipeline.h ...
8 years, 4 months ago (2012-08-14 22:00:24 UTC) #8
acolwell GONE FROM CHROMIUM
8 years, 4 months ago (2012-08-15 21:36:56 UTC) #9
http://codereview.chromium.org/10836167/diff/27/media/base/pipeline.h
File media/base/pipeline.h (right):

http://codereview.chromium.org/10836167/diff/27/media/base/pipeline.h#newcode501
media/base/pipeline.h:501: // Video Renderer reference used for determining when
playback has finished
On 2012/08/14 22:00:24, scherkus wrote:
> this TODO isn't really applicable in this context anymore as we won't be
> removing the video_renderer_ reference after that bug is fixed
> 
> I'd rather see this TODO by the ShutdownHack() method call / declaration

Ami asked me to keep the comment here
http://codereview.chromium.org/10836167/diff/7005/media/base/pipeline.h#newco...

http://codereview.chromium.org/10836167/diff/27/media/base/video_renderer.h
File media/base/video_renderer.h (right):

http://codereview.chromium.org/10836167/diff/27/media/base/video_renderer.h#n...
media/base/video_renderer.h:40: // Initialize a VideoRenderer with the given
VideoDecoder, executing
On 2012/08/14 22:00:24, scherkus wrote:
> docs need updating

Done.

http://codereview.chromium.org/10836167/diff/27/media/filters/video_renderer_...
File media/filters/video_renderer_base_unittest.cc (right):

http://codereview.chromium.org/10836167/diff/27/media/filters/video_renderer_...
media/filters/video_renderer_base_unittest.cc:110:
.WillOnce(RunPipelineStatusCB1(PIPELINE_OK));
On 2012/08/14 22:00:24, scherkus wrote:
> fix indent

Done.

http://codereview.chromium.org/10836167/diff/27/media/filters/video_renderer_...
media/filters/video_renderer_base_unittest.cc:699: 
On 2012/08/14 22:00:24, scherkus wrote:
> remove extra newline

Done.

http://codereview.chromium.org/10836167/diff/27/media/filters/video_renderer_...
media/filters/video_renderer_base_unittest.cc:700: }
On 2012/08/14 22:00:24, scherkus wrote:
> fix indent

Done.

http://codereview.chromium.org/10836167/diff/27/webkit/media/filter_helpers.cc
File webkit/media/filter_helpers.cc (right):

http://codereview.chromium.org/10836167/diff/27/webkit/media/filter_helpers.c...
webkit/media/filter_helpers.cc:52: // Remove any "traditional" decoders (e.g.
GpuVideoDecoder) from the
On 2012/08/14 22:00:24, scherkus wrote:
> is this comment duplicated?

Done.

Powered by Google App Engine
This is Rietveld 408576698