summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-08 14:58:53 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-08 14:58:53 +0100
commit9facdf75a2776319fc5826cfa3dd85340f3c8879 (patch)
treedfc19da6dd5b3aefd2cacbec817336058d9c6c02 /src/lib/player.h
parent9334a6e5ea4ba89c243b2e5d6bdb02db6aa012ff (diff)
Fix detection of same-frame to speed up simple encodes (#548).
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index 14aee002a..52dffec24 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -93,6 +93,8 @@ public:
void set_video_container_size (dcp::Size);
void set_ignore_video ();
+ void set_enable_subtitles (bool enable);
+ void set_burn_subtitles (bool burn);
PlayerStatistics const & statistics () const;
@@ -158,6 +160,8 @@ private:
/** true if the player should ignore all video; i.e. never produce any */
bool _ignore_video;
+ /** true if the player should burn subtitles into the video */
+ bool _burn_subtitles;
boost::shared_ptr<AudioProcessor> _audio_processor;