diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-28 17:53:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-29 20:04:36 +0100 |
| commit | a0d1dd5d91c81ec9907cbc7b890905c463c18f62 (patch) | |
| tree | 3dc0b2e5b7e3a4e7da7d687c8713e0b461ce2aeb /test/seek_zero_test.cc | |
| parent | 2da067ce01a04964dd5d739ea695504517877507 (diff) | |
Replace Time::frames with Time::frames_round and Time::frames_floor.
I believe both are necessary; doing floor instead of round caused #648.
Diffstat (limited to 'test/seek_zero_test.cc')
| -rw-r--r-- | test/seek_zero_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/seek_zero_test.cc b/test/seek_zero_test.cc index 7f661b21c..5f870ba41 100644 --- a/test/seek_zero_test.cc +++ b/test/seek_zero_test.cc @@ -57,7 +57,7 @@ BOOST_AUTO_TEST_CASE (seek_zero_test) video_delay = ContentTime (); } - Frame const first_frame = video_delay.round_up (content->video_frame_rate ()).frames (content->video_frame_rate ()); + Frame const first_frame = video_delay.round_up (content->video_frame_rate ()).frames_round (content->video_frame_rate ()); FFmpegDecoder decoder (content, film->log()); list<ContentVideo> a = decoder.get_video (first_frame, true); |
