diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-11 16:42:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-11 19:46:53 +0100 |
| commit | 0070c968403a46b464bc259e6e2dcd89c541dcf2 (patch) | |
| tree | 3b9324c64104f3647bec67a407673fb3a61fcf49 /test/player_test.cc | |
| parent | 3b3ab3a69bc35f30690c9e5a5703baf3c700e41b (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.cc | 2 |
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); } } |
