Rename RTPVideoHeader.isFirstPacket to .is_first_packet_in_frame.
Name should represent the actual meaning. BUG=None Review-Url: https://codereview.webrtc.org/2574943003 Cr-Commit-Position: refs/heads/master@{#15684}
This commit is contained in:
@ -62,11 +62,11 @@ VCMPacket StreamGenerator::GeneratePacket(uint16_t sequence_number,
|
||||
packet.seqNum = sequence_number;
|
||||
packet.timestamp = timestamp;
|
||||
packet.frameType = type;
|
||||
packet.isFirstPacket = first_packet;
|
||||
packet.is_first_packet_in_frame = first_packet;
|
||||
packet.markerBit = marker_bit;
|
||||
packet.sizeBytes = size;
|
||||
packet.dataPtr = packet_buffer_;
|
||||
if (packet.isFirstPacket)
|
||||
if (packet.is_first_packet_in_frame)
|
||||
packet.completeNALU = kNaluStart;
|
||||
else if (packet.markerBit)
|
||||
packet.completeNALU = kNaluEnd;
|
||||
|
||||
Reference in New Issue
Block a user