From d983c3c9e58fa957aaf6ef93b1a676a6338efae0 Mon Sep 17 00:00:00 2001 From: noahric Date: Wed, 3 Feb 2016 03:43:42 -0800 Subject: [PATCH] Add SEI to the list of packets counted as keyframe. It's generated by some encoders between SPS/PPS and an IDR frame, so we should treat it like sps/pps. BUG= Review URL: https://codereview.webrtc.org/1664733002 Cr-Commit-Position: refs/heads/master@{#11470} --- webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc index c422577c81..86b6f6ecd6 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc @@ -101,6 +101,7 @@ bool ParseSingleNalu(RtpDepacketizer::ParsedPayload* parsed_payload, switch (nal_type) { case kSps: case kPps: + case kSei: case kIdr: parsed_payload->frame_type = kVideoFrameKey; break;