diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-04 20:22:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-04 20:22:47 +0000 |
| commit | 1b1bc528ee5ca1fee1bd33f9fb6f79cd551e3b33 (patch) | |
| tree | d60b9fb573dd8d6ab89036fb8788cd1b1c69aada /test/seek_zero_test.cc | |
| parent | 6d8bcba724be622739a749064466901486304cee (diff) | |
New DCPTime/ContentTime types.
Diffstat (limited to 'test/seek_zero_test.cc')
| -rw-r--r-- | test/seek_zero_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/seek_zero_test.cc b/test/seek_zero_test.cc index c20c99ee7..e0c52e2bf 100644 --- a/test/seek_zero_test.cc +++ b/test/seek_zero_test.cc @@ -47,11 +47,11 @@ BOOST_AUTO_TEST_CASE (seek_zero_test) FFmpegDecoder decoder (film, content, true, false); shared_ptr<DecodedVideo> a = dynamic_pointer_cast<DecodedVideo> (decoder.peek ()); - decoder.seek (0, true); + decoder.seek (ContentTime(), true); shared_ptr<DecodedVideo> b = dynamic_pointer_cast<DecodedVideo> (decoder.peek ()); /* a will be after no seek, and b after a seek to zero, which should have the same effect. */ - BOOST_CHECK_EQUAL (a->frame, b->frame); + BOOST_CHECK_EQUAL (a->content_time, b->content_time); } |
