Index: webrtc/video_frame.h |
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h |
index b5e13f039b0cd6c7f7f2920cab126124c39039a9..3ec47c6c751d2bcd6d7565bcff59f524bc3d9043 100644 |
--- a/webrtc/video_frame.h |
+++ b/webrtc/video_frame.h |
@@ -157,6 +157,7 @@ class EncodedImage { |
static size_t GetBufferPaddingBytes(VideoCodecType codec_type); |
EncodedImage() : EncodedImage(nullptr, 0, 0) {} |
+ |
EncodedImage(uint8_t* buffer, size_t length, size_t size) |
: _buffer(buffer), _length(length), _size(size) {} |
@@ -182,6 +183,7 @@ class EncodedImage { |
uint8_t* _buffer; |
size_t _length; |
size_t _size; |
+ VideoRotation rotation_ = kVideoRotation_0; |
bool _completeFrame = false; |
AdaptReason adapt_reason_; |
int qp_ = -1; // Quantizer value. |