diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-26 01:21:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-26 17:04:31 +0100 |
| commit | 09a9ac376db005a40a351736bcff4077f098825d (patch) | |
| tree | 64ea69741155d15d114ad96daf0f90e24b3abe28 /test/ffmpeg_examiner_test.cc | |
| parent | 46cd0fe7b5b514f0d9456b25f670679cc584a218 (diff) | |
Another try at sorting out the thorny question of timing.
Diffstat (limited to 'test/ffmpeg_examiner_test.cc')
| -rw-r--r-- | test/ffmpeg_examiner_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffmpeg_examiner_test.cc b/test/ffmpeg_examiner_test.cc index 6e73038f1..296444ba7 100644 --- a/test/ffmpeg_examiner_test.cc +++ b/test/ffmpeg_examiner_test.cc @@ -25,7 +25,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_examiner_test) shared_ptr<FFmpegContent> content (new FFmpegContent (film, "test/data/count300bd24.m2ts")); shared_ptr<FFmpegExaminer> examiner (new FFmpegExaminer (content)); - BOOST_CHECK_EQUAL (examiner->first_video().get(), 57604000); + BOOST_CHECK_EQUAL (examiner->first_video().get(), 600.04166666666674); BOOST_CHECK_EQUAL (examiner->audio_streams().size(), 1); - BOOST_CHECK_EQUAL (examiner->audio_streams()[0]->start.get(), 57600000); + BOOST_CHECK_EQUAL (examiner->audio_streams()[0]->first_audio.get(), 600); } |
