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

Unified Diff: webrtc/config.cc

Issue 2494683006: Reland of Declare VideoCodec.codec_specific_info private (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/common_types.cc ('k') | webrtc/video/vie_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/config.cc
diff --git a/webrtc/config.cc b/webrtc/config.cc
index 281b89f46e5b5736d9da510b94596335c89e4ae7..4b437e264d3dcebd675fb7c41ce4175697ed532c 100644
--- a/webrtc/config.cc
+++ b/webrtc/config.cc
@@ -167,11 +167,11 @@
void VideoEncoderConfig::EncoderSpecificSettings::FillEncoderSpecificSettings(
VideoCodec* codec) const {
if (codec->codecType == kVideoCodecH264) {
- FillVideoCodecH264(&codec->codecSpecific.H264);
+ FillVideoCodecH264(codec->H264());
} else if (codec->codecType == kVideoCodecVP8) {
- FillVideoCodecVp8(&codec->codecSpecific.VP8);
+ FillVideoCodecVp8(codec->VP8());
} else if (codec->codecType == kVideoCodecVP9) {
- FillVideoCodecVp9(&codec->codecSpecific.VP9);
+ FillVideoCodecVp9(codec->VP9());
} else {
RTC_NOTREACHED() << "Encoder specifics set/used for unknown codec type.";
}
« no previous file with comments | « webrtc/common_types.cc ('k') | webrtc/video/vie_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698