commit | 7f722492f141c1fe9a855d6ef45e9cf2dc756ab8 | [log] [tgz] |
---|---|---|
author | andresp@webrtc.org <andresp@webrtc.org> | Mon Dec 01 15:29:29 2014 +0000 |
committer | andresp@webrtc.org <andresp@webrtc.org> | Mon Dec 01 15:29:29 2014 +0000 |
tree | c6f4f2351bbff23d19a885f754f88e0b69a4b010 | |
parent | 273a414b0ec2e58fdf3b817ad8b1a02f4ce15287 [diff] |
Set simulcastIdx field to zero even if it has no meaning. Helps to be able to memcmp between 2 parses of the same packet. R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30279004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7773 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc index 57ff74f..5202754 100644 --- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc +++ b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc
@@ -678,6 +678,7 @@ parsed_payload->type.Video.height = 0; parsed_payload->type.Video.isFirstPacket = beginning_of_partition && (partition_id == 0); + parsed_payload->type.Video.simulcastIdx = 0; parsed_payload->type.Video.codec = kRtpVideoVp8; parsed_payload->type.Video.codecHeader.VP8.nonReference = (*payload_data & 0x20) ? true : false; // N bit