H264 Supplemental Enhancement Information no longer considered a keyframe.

BUG=none

Review-Url: https://codereview.webrtc.org/2769863007
Cr-Commit-Position: refs/heads/master@{#17435}
This commit is contained in:
philipel 2017-03-29 02:19:54 -07:00 committed by Commit bot
parent 7057b6b75f
commit 0f0a849cba
2 changed files with 1 additions and 2 deletions

View File

@ -551,9 +551,7 @@ bool RtpDepacketizerH264::ProcessStapAOrSingleNalu(
case H264::NaluType::kEndOfSequence:
case H264::NaluType::kEndOfStream:
case H264::NaluType::kFiller:
break;
case H264::NaluType::kSei:
parsed_payload->frame_type = kVideoFrameKey;
break;
case H264::NaluType::kStapA:
case H264::NaluType::kFuA:

View File

@ -893,6 +893,7 @@ TEST_F(RtpDepacketizerH264Test, TestSeiPacket) {
RtpDepacketizer::ParsedPayload payload;
ASSERT_TRUE(depacketizer_->Parse(&payload, kPayload, sizeof(kPayload)));
const RTPVideoHeaderH264& h264 = payload.type.Video.codecHeader.H264;
EXPECT_EQ(kVideoFrameDelta, payload.frame_type);
EXPECT_EQ(kH264SingleNalu, h264.packetization_type);
EXPECT_EQ(kSei, h264.nalu_type);
ASSERT_EQ(1u, h264.nalus_length);