Index: webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
index 0e065c5e4974e7e7f4e21d0ee33844c0ca4256a3..18eccb25a5d4c1950935b54a060b03ce8006250b 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.cc |
@@ -393,6 +393,7 @@ int32_t H264EncoderImpl::Encode( |
encoded_image_._timeStamp = frame.timestamp(); |
encoded_image_.ntp_time_ms_ = frame.ntp_time_ms(); |
encoded_image_.capture_time_ms_ = frame.render_time_ms(); |
+ encoded_image_.rotation_ = frame.rotation(); |
encoded_image_._frameType = EVideoFrameType_to_FrameType(info.eFrameType); |
// Split encoded image up into fragments. This also updates |encoded_image_|. |