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

Issue 1928873002: Revert to recreating RTCVideoEncoder::Impl (Closed)

Created:
4 years, 7 months ago by emircan
Modified:
4 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert to recreating RTCVideoEncoder::Impl This CL revert to recreating RTCVideoEncoder::Impl each time RTCVideoEncoder::Impl::Destroy is called to avoid issues like https://bugs.chromium.org/p/chromium/issues/detail?id=595308#c17. BUG=595308 Committed: https://crrev.com/50f037b918776a78e40dad72a5f0e777179a5424 Cr-Commit-Position: refs/heads/master@{#391840}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : wuchengli@ comments. #

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

Messages

Total messages: 21 (9 generated)
emircan
PTAL.
4 years, 7 months ago (2016-04-28 01:58:46 UTC) #3
Pawel Osciak
https://codereview.chromium.org/1928873002/diff/1/content/renderer/media/rtc_video_encoder.cc File content/renderer/media/rtc_video_encoder.cc (right): https://codereview.chromium.org/1928873002/diff/1/content/renderer/media/rtc_video_encoder.cc#newcode389 content/renderer/media/rtc_video_encoder.cc:389: input_buffers_.clear(); What would you think of having a Clear() ...
4 years, 7 months ago (2016-04-28 02:05:33 UTC) #5
emircan
https://codereview.chromium.org/1928873002/diff/1/content/renderer/media/rtc_video_encoder.cc File content/renderer/media/rtc_video_encoder.cc (right): https://codereview.chromium.org/1928873002/diff/1/content/renderer/media/rtc_video_encoder.cc#newcode389 content/renderer/media/rtc_video_encoder.cc:389: input_buffers_.clear(); On 2016/04/28 02:05:33, Pawel Osciak wrote: > What ...
4 years, 7 months ago (2016-04-28 02:44:09 UTC) #7
wuchengli
https://codereview.chromium.org/1928873002/diff/20001/content/renderer/media/rtc_video_encoder.cc File content/renderer/media/rtc_video_encoder.cc (right): https://codereview.chromium.org/1928873002/diff/20001/content/renderer/media/rtc_video_encoder.cc#newcode272 content/renderer/media/rtc_video_encoder.cc:272: Reset(); This means RTCVideoEncoder is reused after RTCVideoEncoder::Release is ...
4 years, 7 months ago (2016-04-29 13:58:24 UTC) #8
emircan
https://codereview.chromium.org/1928873002/diff/20001/content/renderer/media/rtc_video_encoder.cc File content/renderer/media/rtc_video_encoder.cc (right): https://codereview.chromium.org/1928873002/diff/20001/content/renderer/media/rtc_video_encoder.cc#newcode272 content/renderer/media/rtc_video_encoder.cc:272: Reset(); On 2016/04/29 13:58:24, wuchengli wrote: > This means ...
4 years, 7 months ago (2016-04-29 19:37:28 UTC) #9
wuchengli
On 2016/04/29 19:37:28, emircan wrote: > https://codereview.chromium.org/1928873002/diff/20001/content/renderer/media/rtc_video_encoder.cc > File content/renderer/media/rtc_video_encoder.cc (right): > > https://codereview.chromium.org/1928873002/diff/20001/content/renderer/media/rtc_video_encoder.cc#newcode272 > ...
4 years, 7 months ago (2016-05-04 15:24:04 UTC) #10
wuchengli
LGTM. Please update the subject and the change description.
4 years, 7 months ago (2016-05-04 15:24:25 UTC) #11
emircan
mcasas@ for RS review.
4 years, 7 months ago (2016-05-05 07:02:04 UTC) #14
mcasas
On 2016/05/05 07:02:04, emircan wrote: > mcasas@ for RS review. RS LGTM
4 years, 7 months ago (2016-05-05 14:27:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928873002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928873002/40001
4 years, 7 months ago (2016-05-05 16:33:58 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-05 17:56:29 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 17:58:37 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/50f037b918776a78e40dad72a5f0e777179a5424
Cr-Commit-Position: refs/heads/master@{#391840}

Powered by Google App Engine
This is Rietveld 408576698