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

Issue 347073002: Fix DCHECK crash in RtcVideoEncoder. (Closed)

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

Description

Fix DCHECK crash in RtcVideoEncoder. webrtc::VideoEncoder is synchronized by webrtc::VideoSender. The methods are called on different threads but that is OK. SetRates and SetChannelParameters are called on ProcessThread or libjingle worker thread. Encode is called on VieCaptureThread. Others are called on libjingle worker thread. BUG=chromium:350111 TESTS=webrtc call on CrOS. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279669

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : fix minor formatting #

Patch Set 4 : address posciak's comment #

Patch Set 5 : update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M content/renderer/media/rtc_video_encoder.h View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download
M content/renderer/media/rtc_video_encoder.cc View 1 2 3 4 4 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
wuchengli
PTAL
6 years, 6 months ago (2014-06-23 15:01:41 UTC) #1
wuchengli
scherkus@ OWNER review. Thanks!
6 years, 6 months ago (2014-06-24 03:19:23 UTC) #2
wuchengli
SetRates and SetChannelParameters were called on ProcessThread since Mar 26 by https://code.google.com/p/webrtc/source/detail?r=5794. I'll ask webrtc ...
6 years, 6 months ago (2014-06-24 03:41:17 UTC) #3
Pawel Osciak
Can we instead of adding a lock, after freeing Impl post a task to the ...
6 years, 6 months ago (2014-06-24 03:55:58 UTC) #4
Pawel Osciak
On 2014/06/24 03:55:58, Pawel Osciak wrote: > Can we instead of adding a lock, after ...
6 years, 6 months ago (2014-06-24 04:02:16 UTC) #5
Pawel Osciak
On 2014/06/24 04:02:16, Pawel Osciak wrote: > On 2014/06/24 03:55:58, Pawel Osciak wrote: > > ...
6 years, 6 months ago (2014-06-24 04:11:54 UTC) #6
wuchengli
On 2014/06/24 04:11:54, Pawel Osciak wrote: > On 2014/06/24 04:02:16, Pawel Osciak wrote: > > ...
6 years, 6 months ago (2014-06-24 04:24:13 UTC) #7
wuchengli
PTAL
6 years, 6 months ago (2014-06-24 10:15:14 UTC) #8
kcwu
On 2014/06/24 10:15:14, wuchengli wrote: > PTAL The BUG= and TESTS= in the commit msg ...
6 years, 6 months ago (2014-06-24 11:57:26 UTC) #9
kcwu
lgtm
6 years, 6 months ago (2014-06-24 12:00:12 UTC) #10
scherkus (not reviewing)
lgtm
6 years, 6 months ago (2014-06-24 16:18:04 UTC) #11
wuchengli
The CQ bit was checked by wuchengli@chromium.org
6 years, 6 months ago (2014-06-25 03:52:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/347073002/80001
6 years, 6 months ago (2014-06-25 03:52:48 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-25 10:27:40 UTC) #14
Message was sent while issue was closed.
Change committed as 279669

Powered by Google App Engine
This is Rietveld 408576698