diff options
Diffstat (limited to 'test/play_test.cc')
| -rw-r--r-- | test/play_test.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/play_test.cc b/test/play_test.cc index 51e227256..1ba2e7d88 100644 --- a/test/play_test.cc +++ b/test/play_test.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,7 @@ #include "lib/player.h" #include "lib/ratio.h" #include "lib/dcp_content_type.h" +#include "lib/player_video_frame.h" #include "test.h" /* This test needs stuff in Player that is only included in debug mode */ @@ -43,10 +44,10 @@ public: PlayerWrapper (shared_ptr<Player> p) : _player (p) { - _player->Video.connect (bind (&PlayerWrapper::process_video, this, _1, _2, _5)); + _player->Video.connect (bind (&PlayerWrapper::process_video, this, _1, _3)); } - void process_video (shared_ptr<PlayerImage> i, bool, Time t) + void process_video (shared_ptr<PlayerVideoFrame> i, Time t) { Video v; v.content = _player->_last_video; |
