| Index: webrtc/modules/video_coding/frame_buffer2_unittest.cc
|
| diff --git a/webrtc/modules/video_coding/frame_buffer2_unittest.cc b/webrtc/modules/video_coding/frame_buffer2_unittest.cc
|
| index 04ce5595a553519b2ad835db52e1da8820b931e5..f3d5957e674cd0057da69a2663e970a430bc85e4 100644
|
| --- a/webrtc/modules/video_coding/frame_buffer2_unittest.cc
|
| +++ b/webrtc/modules/video_coding/frame_buffer2_unittest.cc
|
| @@ -260,6 +260,15 @@ TEST_F(TestFrameBuffer2, OneSuperFrame) {
|
| CheckFrame(1, pid, 1);
|
| }
|
|
|
| +TEST_F(TestFrameBuffer2, SetPlayoutDelay) {
|
| + const PlayoutDelay kPlayoutDelayMs = {123, 321};
|
| + std::unique_ptr<FrameObjectFake> test_frame(new FrameObjectFake());
|
| + test_frame->SetPlayoutDelay(kPlayoutDelayMs);
|
| + buffer_.InsertFrame(std::move(test_frame));
|
| + EXPECT_EQ(kPlayoutDelayMs.min_ms, timing_.min_playout_delay());
|
| + EXPECT_EQ(kPlayoutDelayMs.max_ms, timing_.max_playout_delay());
|
| +}
|
| +
|
| // Flaky test, see bugs.webrtc.org/7068.
|
| TEST_F(TestFrameBuffer2, DISABLED_OneUnorderedSuperFrame) {
|
| uint16_t pid = Rand();
|
|
|