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

Issue 1483963002: Simplify CodecManager::RegisterEncoder() (Closed)

Created:
5 years ago by kwiberg-webrtc
Modified:
5 years ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Simplify CodecManager::RegisterEncoder() BUG=webrtc:5028 Committed: https://crrev.com/dfbb3a4bfc5761bdf55526beb9eb37b23d234839 Cr-Commit-Position: refs/heads/master@{#10855}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -37 lines) Patch
M webrtc/modules/audio_coding/acm2/codec_manager.cc View 1 chunk +10 lines, -37 lines 3 comments Download

Messages

Total messages: 12 (5 generated)
kwiberg-webrtc
5 years ago (2015-11-30 19:30:47 UTC) #3
hlundin-webrtc
lgtm with one suggestion. https://codereview.webrtc.org/1483963002/diff/1/webrtc/modules/audio_coding/acm2/codec_manager.cc File webrtc/modules/audio_coding/acm2/codec_manager.cc (right): https://codereview.webrtc.org/1483963002/diff/1/webrtc/modules/audio_coding/acm2/codec_manager.cc#newcode172 webrtc/modules/audio_coding/acm2/codec_manager.cc:172: send_codec_inst_ = send_codec; I'd like ...
5 years ago (2015-12-01 12:11:45 UTC) #4
kwiberg-webrtc
https://codereview.webrtc.org/1483963002/diff/1/webrtc/modules/audio_coding/acm2/codec_manager.cc File webrtc/modules/audio_coding/acm2/codec_manager.cc (right): https://codereview.webrtc.org/1483963002/diff/1/webrtc/modules/audio_coding/acm2/codec_manager.cc#newcode172 webrtc/modules/audio_coding/acm2/codec_manager.cc:172: send_codec_inst_ = send_codec; On 2015/12/01 12:11:45, hlundin-webrtc wrote: > ...
5 years ago (2015-12-01 12:37:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1483963002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483963002/1
5 years ago (2015-12-01 12:38:20 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-01 12:45:06 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/dfbb3a4bfc5761bdf55526beb9eb37b23d234839 Cr-Commit-Position: refs/heads/master@{#10855}
5 years ago (2015-12-01 12:45:18 UTC) #11
hlundin-webrtc
5 years ago (2015-12-01 13:07:04 UTC) #12
Message was sent while issue was closed.
https://codereview.webrtc.org/1483963002/diff/1/webrtc/modules/audio_coding/a...
File webrtc/modules/audio_coding/acm2/codec_manager.cc (right):

https://codereview.webrtc.org/1483963002/diff/1/webrtc/modules/audio_coding/a...
webrtc/modules/audio_coding/acm2/codec_manager.cc:172: send_codec_inst_ =
send_codec;
On 2015/12/01 12:37:27, kwiberg-webrtc wrote:
> On 2015/12/01 12:11:45, hlundin-webrtc wrote:
> > I'd like a DCHECK at this point to verify that all parameters but the
bitrate
> > are unchanged. Maybe through an auxiliary function:
> > 
> > bool AllButRateEqual(const CodecInst& a, CodecInst b) {
> >   b.rate = a.rate;
> >   return a == b;
> > }
> 
> But they're not---we pass through here whether or not the bitrate was the only
> thing that changed.

Oh, well, then I guess not...

Powered by Google App Engine
This is Rietveld 408576698