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

Issue 8528045: corresponding change in CaptureVideoDecoder and RTCVideoDecoder due to pull model used in medi... (Closed)

Created:
9 years, 1 month ago by wjia(left Chromium)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell+watch_chromium.org, annacc+watch_chromium.org, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

corresponding change in CaptureVideoDecoder and RTCVideoDecoder due to pull model used in media VideoRenderer 1. Recent refactoring in media stack went back to pull model between VideoDecoder and VideoRenderer. Necessary change is needed in VideoDecoder subclasses. 2. fix racing condition during video capture shutdown. Now VideoCaptureImpl is guaranteed to be deleted after all events have been processed. BUG=none TEST=trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110596

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : add more tests #

Total comments: 6

Patch Set 4 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -16 lines) Patch
M content/renderer/media/capture_video_decoder.h View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/capture_video_decoder.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M content/renderer/media/capture_video_decoder_unittest.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/media/rtc_video_decoder.h View 1 2 3 3 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/rtc_video_decoder.cc View 1 2 3 3 chunks +32 lines, -2 lines 0 comments Download
M content/renderer/media/rtc_video_decoder_unittest.cc View 1 2 3 chunks +17 lines, -0 lines 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 3 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
wjia(left Chromium)
9 years, 1 month ago (2011-11-14 23:58:46 UTC) #1
scherkus (not reviewing)
tests? http://codereview.chromium.org/8528045/diff/5001/content/renderer/media/capture_video_decoder.cc File content/renderer/media/capture_video_decoder.cc (right): http://codereview.chromium.org/8528045/diff/5001/content/renderer/media/capture_video_decoder.cc#newcode152 content/renderer/media/capture_video_decoder.cc:152: if (state_ != kNormal) { does this actually ...
9 years, 1 month ago (2011-11-16 01:12:35 UTC) #2
wjia(left Chromium)
I'd put new tests in a follow-on patch. This patch is a blocker for webrtc. ...
9 years, 1 month ago (2011-11-16 05:25:53 UTC) #3
acolwell GONE FROM CHROMIUM
I'm also backing scherkus' request for tests. It may be blocking WebRTC, but we have ...
9 years, 1 month ago (2011-11-16 18:49:21 UTC) #4
wjia(left Chromium)
On Wed, Nov 16, 2011 at 10:49 AM, <acolwell@chromium.org> wrote: > I'm also backing scherkus' ...
9 years, 1 month ago (2011-11-17 00:54:59 UTC) #5
scherkus (not reviewing)
I'm sure we all agree that performance is important however I don't believe in prematurely ...
9 years, 1 month ago (2011-11-17 02:05:21 UTC) #6
wjia(left Chromium)
patch has been updated. http://codereview.chromium.org/8528045/diff/11001/content/renderer/media/capture_video_decoder.h File content/renderer/media/capture_video_decoder.h (right): http://codereview.chromium.org/8528045/diff/11001/content/renderer/media/capture_video_decoder.h#newcode95 content/renderer/media/capture_video_decoder.h:95: // Helper. On 2011/11/17 02:05:22, ...
9 years, 1 month ago (2011-11-17 19:14:45 UTC) #7
scherkus (not reviewing)
9 years, 1 month ago (2011-11-17 22:57:03 UTC) #8
LGTM

thanks wei!

we should discuss medium-sized / integration tests for WebRTC so we don't let
these types of regressions slip in

Powered by Google App Engine
This is Rietveld 408576698