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

Issue 9700006: Move VideoDecoder out of media pipeline. (Closed)

Created:
8 years, 9 months ago by xhwang
Modified:
8 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, acolwell GONE FROM CHROMIUM
Visibility:
Public.

Description

Move VideoDecoder out of media pipeline. This is the first step to move VideoDecoder out of Filter hierarchy. In this CL, VideoDecoder is removed from the pipeline and is owned by the VideoRenderBase now. All calls to Seek()/Pause()/Play() are removed. The video decoder is flushed or stopped from the VideoRenderBase instead of from the composite filter. In a follow-up CL, VideoDecoder will not be a Filter any more and Seek()/Pause()/Play() methods will be removed from its definition and all implementations. BUG=108340 TEST=media_unittest, content_unittest and some basic playing of html5 video. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128289

Patch Set 1 #

Patch Set 2 : Rebase and a small fix #

Total comments: 18

Patch Set 3 : Revised on fischman's comments. #

Total comments: 4

Patch Set 4 : Revised again on comments. #

Patch Set 5 : Rebase #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -67 lines) Patch
M content/renderer/media/capture_video_decoder.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/rtc_video_decoder.cc View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M media/base/filter_collection.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M media/base/filter_collection.cc View 1 2 4 chunks +19 lines, -15 lines 0 comments Download
M media/base/filters.h View 1 2 3 4 5 3 chunks +11 lines, -3 lines 0 comments Download
M media/base/filters.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M media/base/mock_filters.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/base/pipeline.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M media/base/pipeline.cc View 1 2 3 4 5 5 chunks +11 lines, -18 lines 0 comments Download
M media/base/pipeline_unittest.cc View 1 2 3 4 5 6 chunks +2 lines, -15 lines 0 comments Download
M media/filters/video_renderer_base.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M media/filters/video_renderer_base.cc View 1 2 3 4 5 4 chunks +11 lines, -3 lines 0 comments Download
M media/filters/video_renderer_base_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
xhwang
Hello fischman and scherkus, I'll do the "moving VideoDecoder out of Filter hierarchy" in two ...
8 years, 9 months ago (2012-03-14 17:11:48 UTC) #1
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/9700006/diff/2001/media/base/filter_collection.h File media/base/filter_collection.h (right): http://codereview.chromium.org/9700006/diff/2001/media/base/filter_collection.h#newcode64 media/base/filter_collection.h:64: std::list<scoped_refptr<VideoDecoder> > video_decoders_; nit: IWBN to have _V_ideoDecoders follow ...
8 years, 9 months ago (2012-03-14 20:05:01 UTC) #2
xhwang
Hello fischman, Mostly revised on comments. Please review again. xhwang http://codereview.chromium.org/9700006/diff/2001/media/base/filter_collection.h File media/base/filter_collection.h (right): http://codereview.chromium.org/9700006/diff/2001/media/base/filter_collection.h#newcode64 ...
8 years, 9 months ago (2012-03-14 22:28:40 UTC) #3
Ami GONE FROM CHROMIUM
LGTM % nits http://codereview.chromium.org/9700006/diff/2001/media/base/filters.h File media/base/filters.h (right): http://codereview.chromium.org/9700006/diff/2001/media/base/filters.h#newcode179 media/base/filters.h:179: const PipelineStatusCB& pipeline_status_cb, On 2012/03/14 22:28:41, ...
8 years, 9 months ago (2012-03-14 22:42:50 UTC) #4
xhwang
http://codereview.chromium.org/9700006/diff/2001/media/base/filters.h File media/base/filters.h (right): http://codereview.chromium.org/9700006/diff/2001/media/base/filters.h#newcode179 media/base/filters.h:179: const PipelineStatusCB& pipeline_status_cb, On 2012/03/14 22:42:50, Ami Fischman wrote: ...
8 years, 9 months ago (2012-03-14 22:59:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/9700006/1013
8 years, 9 months ago (2012-03-15 00:45:02 UTC) #6
Ami GONE FROM CHROMIUM
I expected you to wait for an LGTM from scherkus@, seeing as how you listed ...
8 years, 9 months ago (2012-03-15 01:00:52 UTC) #7
xhwang
Okay, I guess I meant you OR scherkus@. I'll wait for him then. Thanks for ...
8 years, 9 months ago (2012-03-15 01:14:02 UTC) #8
scherkus (not reviewing)
LGTM
8 years, 9 months ago (2012-03-22 13:43:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/9700006/16001
8 years, 9 months ago (2012-03-22 19:05:16 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-22 20:38:00 UTC) #11
Change committed as 128289

Powered by Google App Engine
This is Rietveld 408576698