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:
@ -72,7 +72,7 @@ TEST_F(TestNackModule, WrappingSeqNumClearToKeyframe) {
|
||||
|
||||
sent_nacks_.clear();
|
||||
packet.frameType = kVideoFrameKey;
|
||||
packet.isFirstPacket = true;
|
||||
packet.is_first_packet_in_frame = true;
|
||||
packet.seqNum = 2;
|
||||
nack_module_.OnReceivedPacket(packet);
|
||||
EXPECT_EQ(0u, sent_nacks_.size());
|
||||
@ -239,11 +239,11 @@ TEST_F(TestNackModule, TooLargeNackListWithKeyFrame) {
|
||||
packet.seqNum = 0;
|
||||
nack_module_.OnReceivedPacket(packet);
|
||||
packet.seqNum = 1;
|
||||
packet.isFirstPacket = true;
|
||||
packet.is_first_packet_in_frame = true;
|
||||
packet.frameType = kVideoFrameKey;
|
||||
nack_module_.OnReceivedPacket(packet);
|
||||
packet.seqNum = 1001;
|
||||
packet.isFirstPacket = false;
|
||||
packet.is_first_packet_in_frame = false;
|
||||
packet.frameType = kVideoFrameKey;
|
||||
nack_module_.OnReceivedPacket(packet);
|
||||
EXPECT_EQ(999u, sent_nacks_.size());
|
||||
|
Reference in New Issue
Block a user