Merge branch 'prefs' of ssh://carlh.dyndns.org/home/carl/git/dcpomatic into prefs
[dcpomatic.git] / test / play_test.cc
index cb5b6cbb8cd2f1ff0349a9b93b211755e3b78583..dfa597431fee6b818d42e195f3676af6bf6229e8 100644 (file)
@@ -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);
        }