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 92b5aae65cf61f7630e9315e54c3c797044e82fd..d575d8c5de0f93154ff61a688258e8a27215ac4c 100644 |
--- a/webrtc/api/android/jni/androidmediaencoder_jni.cc |
+++ b/webrtc/api/android/jni/androidmediaencoder_jni.cc |
@@ -1113,6 +1113,9 @@ bool MediaCodecVideoEncoder::DeliverPendingOutputs(JNIEnv* jni) { |
info.codecSpecific.VP9.height[0] = height_; |
info.codecSpecific.VP9.gof.CopyGofInfoVP9(gof_); |
} |
+ } else if (codecType_ == kVideoCodecH264) { |
+ info.codecSpecific.H264.packetization_mode = |
+ webrtc::kH264PacketizationMode1; |
} |
picture_id_ = (picture_id_ + 1) & 0x7FFF; |