From dd59755d86cdb1892bb0ba4d69af520cee4aa964 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Sep 2015 00:52:50 +0100 Subject: Back-end for very basic and hacky VF support for a DCP imported as content. --- src/lib/player.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/player.h') diff --git a/src/lib/player.h b/src/lib/player.h index 842c2283c..e52ad59c2 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -29,6 +29,10 @@ #include #include +namespace dcp { + class ReelAsset; +} + class PlayerVideo; class Playlist; class Font; @@ -46,6 +50,7 @@ public: boost::shared_ptr get_audio (DCPTime time, DCPTime length, bool accurate); PlayerSubtitles get_subtitles (DCPTime time, DCPTime length, bool starting, bool burnt); std::list > get_subtitle_fonts (); + std::list > get_reel_assets (); void set_video_container_size (dcp::Size); void set_ignore_video (); @@ -53,6 +58,7 @@ public: void set_enable_subtitles (bool enable); void set_always_burn_subtitles (bool burn); void set_fast (); + void set_play_referenced (); /** Emitted when something has changed such that if we went back and emitted * the last frame again it would look different. This is not emitted after @@ -127,6 +133,8 @@ private: bool _always_burn_subtitles; /** true if we should try to be fast rather than high quality */ bool _fast; + /** true if we should `play' (i.e output) referenced DCP data (e.g. for preview) */ + bool _play_referenced; boost::shared_ptr _audio_processor; -- cgit v1.2.3