Index: webrtc/modules/video_coding/frame_buffer.cc |
diff --git a/webrtc/modules/video_coding/frame_buffer.cc b/webrtc/modules/video_coding/frame_buffer.cc |
index 11db7853bfc08d5debb7dcb3a67f035e8ac8e57a..61db0d12325059afe4bf906677c4d7e5d39be434 100644 |
--- a/webrtc/modules/video_coding/frame_buffer.cc |
+++ b/webrtc/modules/video_coding/frame_buffer.cc |
@@ -129,7 +129,7 @@ VCMFrameBufferEnum VCMFrameBuffer::InsertPacket( |
// Don't copy payload specific data for empty packets (e.g padding packets). |
if (packet.sizeBytes > 0) |
- CopyCodecSpecific(&packet.codecSpecificHeader); |
+ CopyCodecSpecific(&packet.video_header); |
int retVal = |
_sessionInfo.InsertPacket(packet, _buffer, decode_error_mode, frame_data); |
@@ -153,10 +153,14 @@ VCMFrameBufferEnum VCMFrameBuffer::InsertPacket( |
// (HEVC)). |
if (packet.markerBit) { |
RTC_DCHECK(!_rotation_set); |
- _rotation = packet.codecSpecificHeader.rotation; |
+ _rotation = packet.video_header.rotation; |
_rotation_set = true; |
} |
+ if (packet.isFirstPacket) { |
+ playout_delay_ = packet.video_header.playout_delay; |
+ } |
+ |
if (_sessionInfo.complete()) { |
SetState(kStateComplete); |
return kCompleteSession; |