Chromium Code Reviews| Index: webrtc/common_video/include/video_frame.h |
| diff --git a/webrtc/common_video/include/video_frame.h b/webrtc/common_video/include/video_frame.h |
| index 4f8ed08f9b499d9bafe8c57bfc68f262ccbaac5f..99e0b8f2a009d9a0be1ef2a6c73dd6e9cd974ef2 100644 |
| --- a/webrtc/common_video/include/video_frame.h |
| +++ b/webrtc/common_video/include/video_frame.h |
| @@ -54,7 +54,7 @@ class EncodedImage { |
| size_t _length; |
| size_t _size; |
| VideoRotation rotation_ = kVideoRotation_0; |
| - VideoContentType content_type_ = VideoContentType::UNSPECIFIED; |
| + mutable VideoContentType content_type_ = VideoContentType::UNSPECIFIED; |
|
sprang_webrtc
2017/08/24 09:13:16
Why does it need to be mutable?
ilnik
2017/08/25 12:35:07
Because it's modified in the VCMEncodedFrameCallba
|
| bool _completeFrame = false; |
| AdaptReason adapt_reason_; |
| int qp_ = -1; // Quantizer value. |