diff options
author | Noah Richards <noahric@chromium.org> | 2015-04-23 11:15:08 -0700 |
---|---|---|
committer | Noah Richards <noahric@chromium.org> | 2015-04-23 18:14:46 +0000 |
commit | 9728241e6a57b0ac6c994cded1b3e87bafd241f1 (patch) | |
tree | 6ea3b03f65c5760f2d7eb558e4810fe9e04ca307 /webrtc/modules/video_coding/main/source/packet.cc | |
parent | fe7a80c38c2cc023e5cfd96e879c98ffac68888b (diff) | |
download | webrtc-9728241e6a57b0ac6c994cded1b3e87bafd241f1.tar.gz |
Record H264 NALU type in the h264 header.
BUG=
R=niklas.enbom@webrtc.org, stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/48999004
Cr-Commit-Position: refs/heads/master@{#9072}
Diffstat (limited to 'webrtc/modules/video_coding/main/source/packet.cc')
-rw-r--r-- | webrtc/modules/video_coding/main/source/packet.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/modules/video_coding/main/source/packet.cc b/webrtc/modules/video_coding/main/source/packet.cc index fb815c45b9..c9eb482ed0 100644 --- a/webrtc/modules/video_coding/main/source/packet.cc +++ b/webrtc/modules/video_coding/main/source/packet.cc @@ -123,7 +123,7 @@ void VCMPacket::CopyCodecSpecifics(const RTPVideoHeader& videoHeader) { if (isFirstPacket) insertStartCode = true; - if (videoHeader.codecHeader.H264.single_nalu) { + if (isFirstPacket && markerBit) { completeNALU = kNaluComplete; } else if (isFirstPacket) { completeNALU = kNaluStart; |