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

Issue 1364193002: CodecOwner::SetEncoders: Return error code when given bad arguments (Closed)

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

Description

CodecOwner::SetEncoders: Return error code when given bad arguments Instead of FATAL on a bad codec specification, log and return an error code. This is a band-aid until callers are taught to only give it good specifications. BUG=webrtc:5033, chromium:526478 Committed: https://crrev.com/574d5daa6d522a77f19ad7a512023e1476df7039 Cr-Commit-Position: refs/heads/master@{#10066}

Patch Set 1 #

Patch Set 2 : Add unittest #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -12 lines) Patch
M webrtc/modules/audio_coding/main/acm2/codec_manager.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner.h View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner.cc View 4 chunks +9 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc View 1 4 chunks +12 lines, -2 lines 1 comment Download

Messages

Total messages: 17 (6 generated)
kwiberg-webrtc
🐛
5 years, 3 months ago (2015-09-24 10:00:03 UTC) #2
hlundin-webrtc
LG, but: - Add chromium:526478 to BUG= - Add a test to codec_owner_unittest.cc to verify ...
5 years, 3 months ago (2015-09-24 10:26:53 UTC) #3
kwiberg-webrtc
On 2015/09/24 10:26:53, hlundin-webrtc wrote: > LG, but: > > - Add chromium:526478 to BUG= ...
5 years, 3 months ago (2015-09-24 11:18:21 UTC) #4
hlundin-webrtc
Thanks for fixing! LGTM https://codereview.webrtc.org/1364193002/diff/20001/webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc File webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc (right): https://codereview.webrtc.org/1364193002/diff/20001/webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc#newcode204 webrtc/modules/audio_coding/main/acm2/codec_owner_unittest.cc:204: static const char bad_name[] = ...
5 years, 3 months ago (2015-09-24 11:24:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364193002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364193002/20001
5 years, 3 months ago (2015-09-24 11:26:13 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/2582)
5 years, 3 months ago (2015-09-24 15:42:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364193002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364193002/20001
5 years, 3 months ago (2015-09-24 20:01:11 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 3 months ago (2015-09-24 22:01:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1364193002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1364193002/20001
5 years, 3 months ago (2015-09-25 05:53:07 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-25 05:53:58 UTC) #16
commit-bot: I haz the power
5 years, 3 months ago (2015-09-25 05:54:08 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/574d5daa6d522a77f19ad7a512023e1476df7039
Cr-Commit-Position: refs/heads/master@{#10066}

Powered by Google App Engine
This is Rietveld 408576698