Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: webrtc/modules/video_coding/frame_object.cc

Issue 2622053003: Set |_encodedWidth| and |_encodedHeight| in RtpFrameObject. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/video_coding/frame_object.cc
diff --git a/webrtc/modules/video_coding/frame_object.cc b/webrtc/modules/video_coding/frame_object.cc
index 0dd06abf2e041b5a0e58a78e0d441231248b4a50..d593d4bef4ca4956f65646c0e694fbc26ebe95ef 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698