Index: webrtc/common_video/video_frame.cc |
diff --git a/webrtc/common_video/video_frame.cc b/webrtc/common_video/video_frame.cc |
index 7145a623e65ef4837c7b216b528ae1575254506a..ebff2a9987bdab1f656e622cf436b55870fc6946 100644 |
--- a/webrtc/common_video/video_frame.cc |
+++ b/webrtc/common_video/video_frame.cc |
@@ -94,11 +94,7 @@ void VideoFrame::CreateFrame(const uint8_t* buffer, |
} |
void VideoFrame::ShallowCopy(const VideoFrame& videoFrame) { |
tommi
2016/10/24 10:52:17
change variable name to video_frame? (or even just
nisse-chromium (ooo August 14)
2016/10/24 11:01:20
Done.
|
- video_frame_buffer_ = videoFrame.video_frame_buffer(); |
- timestamp_rtp_ = videoFrame.timestamp_rtp_; |
- ntp_time_ms_ = videoFrame.ntp_time_ms_; |
- timestamp_us_ = videoFrame.timestamp_us_; |
- rotation_ = videoFrame.rotation_; |
+ *this = videoFrame; |
} |
int VideoFrame::width() const { |