summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-04 21:55:06 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-04 21:55:06 +0000
commita3241f40b061480a0907699a5857075388216643 (patch)
tree4e1d80bbe66c093d6844024c4ea62e9ff61643d0 /test
parent98060a4e6f02b418f30b4b736e5880a357454c40 (diff)
Suspend scale / crop / window / subtitle overlay until we decide that a frame is going to be used.
Diffstat (limited to 'test')
-rw-r--r--test/play_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/play_test.cc b/test/play_test.cc
index cb5b6cbb8..dfa597431 100644
--- a/test/play_test.cc
+++ b/test/play_test.cc
@@ -46,11 +46,11 @@ public:
_player->Video.connect (bind (&PlayerWrapper::process_video, this, _1, _2, _5));
}
- void process_video (shared_ptr<const Image> i, bool, Time t)
+ void process_video (shared_ptr<PlayerImage> i, bool, Time t)
{
Video v;
v.content = _player->_last_video;
- v.image = i;
+ v.image = i->image ();
v.time = t;
_queue.push_front (v);
}