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

Issue 2998293002: Make CodecType conversion functions non-optional. (Closed)

Created:
3 years, 4 months ago by kthelgason
Modified:
3 years, 4 months ago
Reviewers:
tommi
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun, mflodman, magjed_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make CodecType conversion functions non-optional. We can't handle no value here anyway and end up setting a default at each call site. The defaults aren't even the same in each place. BUG=None Review-Url: https://codereview.webrtc.org/2998293002 Cr-Commit-Position: refs/heads/master@{#19485} Committed: https://chromium.googlesource.com/external/webrtc/+/1cdddc96fa2f81219bb363f540af8dfb822afbb3

Patch Set 1 #

Patch Set 2 : Fix android build #

Patch Set 3 : Keep old functions for backwards-compat #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -71 lines) Patch
M webrtc/common_types.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/common_types.cc View 1 2 1 chunk +27 lines, -20 lines 0 comments Download
M webrtc/media/engine/internalencoderfactory.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/media/engine/videoencodersoftwarefallbackwrapper.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/video_coding/packet.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/utility/ivf_file_writer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/video_codec_initializer.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/sdk/android/src/jni/videodecoderfactorywrapper.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoEncoderSettings.mm View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/VideoToolbox/objc_video_decoder_factory.mm View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 1 chunk +2 lines, -7 lines 0 comments Download
M webrtc/video/video_stream_encoder.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (18 generated)
kthelgason
PTAL when time allows.
3 years, 4 months ago (2017-08-23 11:31:53 UTC) #8
tommi
lgtm
3 years, 4 months ago (2017-08-23 13:14:57 UTC) #11
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/2998293002/60001
3 years, 4 months ago (2017-08-24 10:50:08 UTC) #19
commit-bot: I haz the power
3 years, 4 months ago (2017-08-24 10:53:05 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/1cdddc96fa2f81219bb363f54...

Powered by Google App Engine
This is Rietveld 408576698