| Index: webrtc/common_video/video_frame.cc
|
| diff --git a/webrtc/common_video/video_frame.cc b/webrtc/common_video/video_frame.cc
|
| index ab1a6bef408fdddce69fca01e510942fa645ca0d..d9c5c2f783cf6dcf7c0014112541017e5b04fb54 100644
|
| --- a/webrtc/common_video/video_frame.cc
|
| +++ b/webrtc/common_video/video_frame.cc
|
| @@ -23,13 +23,6 @@ namespace webrtc {
|
| // to optimized bitstream readers. See avcodec_decode_video2.
|
| const size_t EncodedImage::kBufferPaddingBytesH264 = 8;
|
|
|
| -VideoFrame::VideoFrame()
|
| - : video_frame_buffer_(nullptr),
|
| - timestamp_rtp_(0),
|
| - ntp_time_ms_(0),
|
| - timestamp_us_(0),
|
| - rotation_(kVideoRotation_0) {}
|
| -
|
| VideoFrame::VideoFrame(const rtc::scoped_refptr<VideoFrameBuffer>& buffer,
|
| webrtc::VideoRotation rotation,
|
| int64_t timestamp_us)
|
| @@ -59,10 +52,6 @@ int VideoFrame::height() const {
|
| return video_frame_buffer_ ? video_frame_buffer_->height() : 0;
|
| }
|
|
|
| -bool VideoFrame::IsZeroSize() const {
|
| - return !video_frame_buffer_;
|
| -}
|
| -
|
| rtc::scoped_refptr<VideoFrameBuffer> VideoFrame::video_frame_buffer() const {
|
| return video_frame_buffer_;
|
| }
|
|
|