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 3361154a75da447cb732774c9c46dd434ecb7318..92b5aae65cf61f7630e9315e54c3c797044e82fd 100644 |
--- a/webrtc/api/android/jni/androidmediaencoder_jni.cc |
+++ b/webrtc/api/android/jni/androidmediaencoder_jni.cc |
@@ -404,7 +404,7 @@ |
// TODO(pbos): Extract automaticResizeOn out of VP8 settings. |
scale_ = false; |
if (codecType_ == kVideoCodecVP8) { |
- scale_ = codec_settings->VP8().automaticResizeOn; |
+ scale_ = codec_settings->codecSpecific.VP8.automaticResizeOn; |
} else if (codecType_ != kVideoCodecVP9) { |
scale_ = true; |
} |