projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix erroneous video position after seek.
[dcpomatic.git]
/
test
/
play_test.cc
diff --git
a/test/play_test.cc
b/test/play_test.cc
index 1ba2e7d88338179e0f698d7aafae2304a34c4e27..92d1a8dce82767d91a16043b8716048fd7b1fb4a 100644
(file)
--- a/
test/play_test.cc
+++ b/
test/play_test.cc
@@
-120,7
+120,7
@@
BOOST_AUTO_TEST_CASE (play_test)
}
}
-
player->
seek (10 * TIME_HZ / 25, true);
+
wrap.
seek (10 * TIME_HZ / 25, true);
optional<Video> v = wrap.get_video ();
BOOST_CHECK (v);
BOOST_CHECK_EQUAL (v.get().time, 10 * TIME_HZ / 25);