- Player (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist>);
-
- void disable_video ();
- void disable_audio ();
-
- bool pass ();
- void seek (Time, bool);
-
- Time video_position () const {
- return _video_position;
- }
-
- void set_video_container_size (libdcp::Size);
-
- bool repeat_last_video ();
-
- /** Emitted when a video frame is ready.
- * First parameter is the video image.
- * Second parameter is the eye(s) that should see this image.
- * Third parameter is the colour conversion that should be used for this image.
- * Fourth parameter is true if the image is the same as the last one that was emitted.
- * Fifth parameter is the time.
- */
- boost::signals2::signal<void (boost::shared_ptr<const Image>, Eyes, ColourConversion, bool, Time)> Video;
-
- /** Emitted when some audio data is ready */
- boost::signals2::signal<void (boost::shared_ptr<const AudioBuffers>, Time)> Audio;
+ Player (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist> playlist);
+
+ std::list<boost::shared_ptr<PlayerVideo> > get_video (DCPTime time, bool accurate);
+ boost::shared_ptr<AudioBuffers> get_audio (DCPTime time, DCPTime length, bool accurate);
+ PlayerSubtitles get_subtitles (DCPTime time, DCPTime length, bool starting, bool burnt, bool accurate);
+ std::list<boost::shared_ptr<Font> > get_subtitle_fonts ();
+ std::list<ReferencedReelAsset> get_reel_assets ();
+
+ void set_video_container_size (dcp::Size);
+ void set_ignore_video ();
+ void set_ignore_audio ();
+ void set_enable_subtitles (bool enable);
+ void set_always_burn_subtitles (bool burn);
+ void set_fast ();
+ void set_play_referenced ();