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 2782273002: Fixing some case-sensitive codec name comparisons. (Closed)

Created:
3 years, 8 months ago by Taylor Brandstetter
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixing some case-sensitive codec name comparisons. As specified in RFC 4288, Section 4.2, and RFC 4855, Section 3, these names should be case-insensitive. They already were being treated as case-insensitive in some other places. This bug was resulting in either a crash or no decoded video, depending on the platform. BUG=webrtc:6439, webrtc:7027 Review-Url: https://codereview.webrtc.org/2782273002 Cr-Commit-Position: refs/heads/master@{#17515} Committed: https://chromium.googlesource.com/external/webrtc/+/c964d0b3fa6b3d7a5b51a1d4e8ebfeec56e19dc0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Simplify code using value_or. #

Patch Set 3 : Merge with master. #

Patch Set 4 : Adding PeerConnection integration test for codec name casing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -19 lines) Patch
M webrtc/pc/peerconnection_integrationtest.cc View 1 2 3 2 chunks +55 lines, -1 line 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 2 chunks +14 lines, -7 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 chunks +3 lines, -9 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Taylor Brandstetter
PTAL. I plan to add an end-to-end regression test for this, but I'm in the ...
3 years, 8 months ago (2017-03-29 20:35:14 UTC) #2
mflodman
LGTM
3 years, 8 months ago (2017-03-30 07:30:14 UTC) #4
sprang_webrtc
lgtm with nit https://codereview.webrtc.org/2782273002/diff/1/webrtc/video/video_receive_stream.cc File webrtc/video/video_receive_stream.cc (right): https://codereview.webrtc.org/2782273002/diff/1/webrtc/video/video_receive_stream.cc#newcode150 webrtc/video/video_receive_stream.cc:150: codec.codecType = codecType ? *codecType : ...
3 years, 8 months ago (2017-03-30 08:14:47 UTC) #5
Taylor Brandstetter
Added test as promised; pthatcher, can you take a look at the test? https://codereview.webrtc.org/2782273002/diff/1/webrtc/video/video_receive_stream.cc File ...
3 years, 8 months ago (2017-03-30 17:04:33 UTC) #7
pthatcher1
lgtm
3 years, 8 months ago (2017-04-02 05:49:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2782273002/60001
3 years, 8 months ago (2017-04-03 16:41:06 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 17:03:39 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/c964d0b3fa6b3d7a5b51a1d4e...

Powered by Google App Engine
This is Rietveld 408576698