projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2852e48
)
Try to fix close-but-no-cigar test failure.
author
Carl Hetherington
<cth@carlh.net>
Tue, 3 Dec 2013 15:30:13 +0000
(15:30 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 3 Dec 2013 15:30:13 +0000
(15:30 +0000)
test/ffmpeg_pts_offset.cc
patch
|
blob
|
history
diff --git
a/test/ffmpeg_pts_offset.cc
b/test/ffmpeg_pts_offset.cc
index c6e9c0303bab5db38f745c2c39e94e804604fd78..2090e517bdd7eeea1d6ff8dea84dd89d30c4a55d 100644
(file)
--- 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
);
}
{