X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fplayer.h;h=71b3cc4644a6b14dfd6e13cdb8abb52c3772f691;hp=694ee70b77cca871eb83854a2b3a8c0a964da1f7;hb=fea1b7402588644f107874a0102c8f3f428123f3;hpb=4b102c1fdee4a68533415a759c6f47be33bf2626 diff --git a/src/lib/player.h b/src/lib/player.h index 694ee70b7..71b3cc464 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -163,9 +163,9 @@ private: */ mutable boost::mutex _mutex; - std::shared_ptr _film; + std::shared_ptr const _film; /** Playlist, or 0 if we are using the one from the _film */ - std::shared_ptr _playlist; + std::shared_ptr const _playlist; /** > 0 if we are suspended (i.e. pass() and seek() do nothing) */ boost::atomic _suspended; @@ -186,7 +186,7 @@ private: /** true if we should try to be fast rather than high quality */ bool _fast = false; /** true if we should keep going in the face of `survivable' errors */ - bool _tolerant = false; + bool const _tolerant; /** true if we should `play' (i.e output) referenced DCP data (e.g. for preview) */ bool _play_referenced = false; @@ -230,7 +230,7 @@ private: dcpomatic::DCPTime _playback_length; /** Alignment for subtitle images that we create */ - Image::Alignment _subtitle_alignment = Image::Alignment::PADDED; + Image::Alignment const _subtitle_alignment = Image::Alignment::PADDED; boost::signals2::scoped_connection _film_changed_connection; boost::signals2::scoped_connection _playlist_change_connection;