Index: webrtc/api/android/jni/androidmediaencoder_jni.cc |
diff --git a/webrtc/api/android/jni/androidmediaencoder_jni.cc b/webrtc/api/android/jni/androidmediaencoder_jni.cc |
index 177cd9bfb9b7ed69ccbe51ede545cc94fc104037..6fcb0fbe3609441f5bac643d25d5c6f152241db3 100644 |
--- a/webrtc/api/android/jni/androidmediaencoder_jni.cc |
+++ b/webrtc/api/android/jni/androidmediaencoder_jni.cc |
@@ -405,7 +405,7 @@ int32_t MediaCodecVideoEncoder::InitEncode( |
// TODO(pbos): Extract automaticResizeOn out of VP8 settings. |
scale_ = false; |
if (codecType_ == kVideoCodecVP8) { |
- scale_ = codec_settings->codecSpecific.VP8.automaticResizeOn; |
+ scale_ = codec_settings->VP8().automaticResizeOn; |
} else if (codecType_ != kVideoCodecVP9) { |
scale_ = true; |
} |