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
This commit is contained in:
parent
273a414b0e
commit
7f722492f1
@ -678,6 +678,7 @@ bool RtpDepacketizerVp8::Parse(ParsedPayload* parsed_payload,
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user