From 59e99b76da075e55d1f0204ecf9b2632a6593528 Mon Sep 17 00:00:00 2001 From: philipel Date: Thu, 12 Jan 2017 03:26:04 -0800 Subject: [PATCH] Set |_encodedWidth| and |_encodedHeight| in RtpFrameObject. BUG=chromium:678080 Review-Url: https://codereview.webrtc.org/2622053003 Cr-Commit-Position: refs/heads/master@{#16029} --- webrtc/modules/video_coding/frame_object.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webrtc/modules/video_coding/frame_object.cc b/webrtc/modules/video_coding/frame_object.cc index 0dd06abf2e..d593d4bef4 100644 --- a/webrtc/modules/video_coding/frame_object.cc +++ b/webrtc/modules/video_coding/frame_object.cc @@ -63,6 +63,8 @@ RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer, _length = frame_size; _frameType = first_packet->frameType; GetBitstream(_buffer); + _encodedWidth = first_packet->width; + _encodedHeight = first_packet->height; // FrameObject members timestamp = first_packet->timestamp;