+ /** true if the player should ignore all video; i.e. never produce any */
+ bool _ignore_video;
+ /** true if the player should ignore all audio; i.e. never produce any */
+ bool _ignore_audio;
+ /** true if the player should always burn subtitles into the video regardless
+ of content settings
+ */
+ 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;
+
+ /** Last PlayerVideo that was emitted */
+ boost::shared_ptr<PlayerVideo> _last_video;
+ /** Time of the last thing we emitted, or the last seek time */
+ boost::optional<DCPTime> _last_time;
+
+ AudioMerger _audio_merger;
+ DCPTime _last_audio_time;
+
+ class StreamState {
+ public:
+ StreamState () {}
+
+ StreamState (boost::shared_ptr<Piece> p, DCPTime l)
+ : piece(p)
+ , last_push_end(l)
+ {}
+
+ boost::shared_ptr<Piece> piece;
+ DCPTime last_push_end;
+ };
+ std::map<AudioStreamPtr, StreamState> _stream_states;