summaryrefslogtreecommitdiff
path: root/test/player_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-11 16:42:30 +0100
committerCarl Hetherington <cth@carlh.net>2022-01-11 19:46:53 +0100
commit0070c968403a46b464bc259e6e2dcd89c541dcf2 (patch)
tree3b9324c64104f3647bec67a407673fb3a61fcf49 /test/player_test.cc
parent3b3ab3a69bc35f30690c9e5a5703baf3c700e41b (diff)
Fix failure to decode multiple video frames from one packet (#2159).
Diffstat (limited to 'test/player_test.cc')
-rw-r--r--test/player_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/player_test.cc b/test/player_test.cc
index 79170611c..3fb8691a5 100644
--- a/test/player_test.cc
+++ b/test/player_test.cc
@@ -210,7 +210,7 @@ BOOST_AUTO_TEST_CASE (player_interleave_test)
player->Audio.connect (bind (&audio, _1, _2));
video_frames = audio_frames = 0;
while (!player->pass ()) {
- BOOST_CHECK (abs(video_frames - (audio_frames / 2000)) < 8);
+ BOOST_CHECK (abs(video_frames - (audio_frames / 2000)) <= 8);
}
}