Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(990)

Unified Diff: webrtc/modules/video_coding/packet_buffer_unittest.cc

Issue 2007743003: Add sender controlled playout delay limits (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@cleanup_rtp_hdr_extensions
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/packet_buffer_unittest.cc
diff --git a/webrtc/modules/video_coding/packet_buffer_unittest.cc b/webrtc/modules/video_coding/packet_buffer_unittest.cc
index b50074d8f60d87ef34cd93b001111f213f996366..ea7cdbf130e1c96ef8cc2d3ce9a4c894445e5d08 100644
--- a/webrtc/modules/video_coding/packet_buffer_unittest.cc
+++ b/webrtc/modules/video_coding/packet_buffer_unittest.cc
@@ -98,10 +98,10 @@ class TestPacketBuffer : public ::testing::Test,
packet.markerBit = last;
packet.sizeBytes = data_size;
packet.dataPtr = data;
- packet.codecSpecificHeader.codecHeader.VP8.pictureId = pid % (1 << 15);
- packet.codecSpecificHeader.codecHeader.VP8.temporalIdx = tid;
- packet.codecSpecificHeader.codecHeader.VP8.tl0PicIdx = tl0;
- packet.codecSpecificHeader.codecHeader.VP8.layerSync = sync;
+ packet.video_header.codecHeader.VP8.pictureId = pid % (1 << 15);
+ packet.video_header.codecHeader.VP8.temporalIdx = tid;
+ packet.video_header.codecHeader.VP8.tl0PicIdx = tl0;
+ packet.video_header.codecHeader.VP8.layerSync = sync;
EXPECT_TRUE(packet_buffer_->InsertPacket(packet));
}

Powered by Google App Engine
This is Rietveld 408576698