Index: webrtc/modules/video_coding/main/source/frame_buffer.cc |
diff --git a/webrtc/modules/video_coding/main/source/frame_buffer.cc b/webrtc/modules/video_coding/main/source/frame_buffer.cc |
index 82a755ab4f4a8f97230786019359027353c4dca8..192febe2a639ae42029d5f3663a8f854a0f0e247 100644 |
--- a/webrtc/modules/video_coding/main/source/frame_buffer.cc |
+++ b/webrtc/modules/video_coding/main/source/frame_buffer.cc |
@@ -98,7 +98,7 @@ VCMFrameBuffer::InsertPacket(const VCMPacket& packet, |
// We only take the ntp timestamp of the first packet of a frame. |
ntp_time_ms_ = packet.ntp_time_ms_; |
_codec = packet.codec; |
- if (packet.frameType != kFrameEmpty) { |
+ if (packet.frameType != kEmptyFrame) { |
// first media packet |
SetState(kStateIncomplete); |
} |
@@ -280,7 +280,7 @@ VCMFrameBuffer::PrepareForDecode(bool continuous) { |
#endif |
// Transfer frame information to EncodedFrame and create any codec |
// specific information. |
- _frameType = ConvertFrameType(_sessionInfo.FrameType()); |
+ _frameType = _sessionInfo.FrameType(); |
_completeFrame = _sessionInfo.complete(); |
_missingFrame = !continuous; |
} |