#include "scaler.h"
#include "log.h"
#include "video_decoder.h"
-#include "playlist.h"
+#include "player.h"
using std::cout;
using std::cerr;
static int frame = 0;
void
-process_video (shared_ptr<Image> image, bool, shared_ptr<Subtitle> sub)
+process_video (shared_ptr<const Image> image, bool, shared_ptr<Subtitle> sub)
{
shared_ptr<DCPVideoFrame> local (
new DCPVideoFrame (
exit (EXIT_FAILURE);
}
- dvdomatic_setup ();
+ dcpomatic_setup ();
server = new ServerDescription (server_host, 1);
- shared_ptr<Film> film (new Film (film_dir, true));
+ shared_ptr<Film> film (new Film (film_dir));
+ film->read_metadata ();
shared_ptr<Player> player = film->player ();
player->disable_audio ();