Index: webrtc/media/engine/webrtcvideoengine2.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc |
index 38d2e5670b9d841c13fc3d776a6987a805d7da57..11a3e28948129dbc73651c60592f76f3b4c0d09b 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2.cc |
@@ -1509,6 +1509,9 @@ WebRtcVideoChannel2::WebRtcVideoSendStream::WebRtcVideoSendStream( |
parameters_.config.overuse_callback = |
enable_cpu_overuse_detection ? this : nullptr; |
+ sink_wants_.rotation_applied = !ContainsHeaderExtension( |
+ rtp_extensions, kRtpVideoRotationHeaderExtension); |
+ |
if (codec_settings) { |
SetCodec(*codec_settings); |
} |