diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-03 15:30:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-03 15:30:13 +0000 |
| commit | bc4ce63541a6617725be91405e279c1292e66721 (patch) | |
| tree | 5e5c102bb52ae774fd9603f185f9a66a8222c87e /test/ffmpeg_pts_offset.cc | |
| parent | 2852e485cf6e8d7a67b146ffc4ed1a5f0ad0bdd9 (diff) | |
Try to fix close-but-no-cigar test failure.
Diffstat (limited to 'test/ffmpeg_pts_offset.cc')
| -rw-r--r-- | test/ffmpeg_pts_offset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffmpeg_pts_offset.cc b/test/ffmpeg_pts_offset.cc index c6e9c0303..2090e517b 100644 --- a/test/ffmpeg_pts_offset.cc +++ b/test/ffmpeg_pts_offset.cc @@ -65,8 +65,8 @@ BOOST_AUTO_TEST_CASE (ffmpeg_pts_offset_test) content->_first_video = frame + 0.0215; content->_audio_stream->first_audio = 0; FFmpegDecoder decoder (film, content, true, true); - BOOST_CHECK_EQUAL (decoder._video_pts_offset, (frame - 0.0215)); - BOOST_CHECK_EQUAL (decoder._audio_pts_offset, (frame - 0.0215)); + BOOST_CHECK_CLOSE (decoder._video_pts_offset, (frame - 0.0215), 0.00001); + BOOST_CHECK_CLOSE (decoder._audio_pts_offset, (frame - 0.0215), 0.00001); } { |
