*/
-#include "player.h"
+#include <boost/test/unit_test.hpp>
+#include "lib/player.h"
+#include "lib/ratio.h"
+#include "lib/dcp_content_type.h"
+#include "test.h"
/* This test needs stuff in Player that is only included in debug mode */
#ifdef DCPOMATIC_DEBUG
+using std::cout;
using boost::optional;
+using boost::shared_ptr;
struct Video
{
/* A is 16 frames long at 25 fps */
BOOST_CHECK_EQUAL (B->start(), 16 * TIME_HZ / 25);
- shared_ptr<Player> player = film->player ();
+ shared_ptr<Player> player = film->make_player ();
PlayerWrapper wrap (player);
/* Seek and audio don't get on at the moment */
player->disable_audio ();