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

Issue 1599353003: Name SimulcastEncoderApdater on InitEncode. (Closed)

Created:
4 years, 11 months ago by pbos-webrtc
Modified:
4 years, 11 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Name SimulcastEncoderApdater on InitEncode. Provides a better string (provides names of all implementations), but also fixes a crash when accessing the ImplementationName() of SimulcastEncoderAdapter where InitEncode has failed. BUG=chromium:577932, webrtc:4897 R=stefan@webrtc.org Committed: https://crrev.com/a5dec16b42b1f9c36c10ebd10e5609e6752c67a0 Cr-Commit-Position: refs/heads/master@{#11321}

Patch Set 1 #

Total comments: 2

Patch Set 2 : unittest + implementation fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 4 chunks +10 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 4 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
pbos-webrtc
PTAL
4 years, 11 months ago (2016-01-18 22:37:46 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1599353003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1599353003/1
4 years, 11 months ago (2016-01-18 22:37:49 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 11 months ago (2016-01-19 00:38:05 UTC) #5
stefan-webrtc
maybe a test to verify different names here? https://codereview.webrtc.org/1599353003/diff/1/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc File webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc (right): https://codereview.webrtc.org/1599353003/diff/1/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc#newcode232 webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc:232: implementation_name ...
4 years, 11 months ago (2016-01-20 14:18:12 UTC) #6
pbos-webrtc
unittest + implementation fix
4 years, 11 months ago (2016-01-20 14:43:58 UTC) #7
pbos-webrtc
Good idea, caught 2 bugs. :\ https://codereview.webrtc.org/1599353003/diff/1/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc File webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc (right): https://codereview.webrtc.org/1599353003/diff/1/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc#newcode232 webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc:232: implementation_name += streaminfos_[0].encoder->ImplementationName(); ...
4 years, 11 months ago (2016-01-20 14:44:38 UTC) #8
stefan-webrtc
lgtm
4 years, 11 months ago (2016-01-20 14:50:56 UTC) #9
pbos-webrtc
Committed patchset #2 (id:20001) manually as a5dec16b42b1f9c36c10ebd10e5609e6752c67a0 (presubmit successful).
4 years, 11 months ago (2016-01-20 14:54:08 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 14:54:08 UTC) #13
Patchset 2 (id:??) landed as
https://crrev.com/a5dec16b42b1f9c36c10ebd10e5609e6752c67a0
Cr-Commit-Position: refs/heads/master@{#11321}

Powered by Google App Engine
This is Rietveld 408576698