diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 17:03:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 17:03:16 +0100 |
| commit | 096660d2cc3e65ae5e13a69e7ace19ff0d48b39a (patch) | |
| tree | fa1c32fd182c7cd19ab5565cdd411445d06dbe8d /src/lib/player_video.h | |
| parent | 7632d0d3da495443b80334363399172e54ebfd7c (diff) | |
Only burn subtitles if it is turned on.
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 7d2787783..e06e5f45e 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -41,10 +41,10 @@ public: void set_subtitle (PositionImage); - boost::shared_ptr<Image> image () const; + boost::shared_ptr<Image> image (bool burn_subtitle) const; - void add_metadata (xmlpp::Node* node) const; - void send_binary (boost::shared_ptr<Socket> socket) const; + void add_metadata (xmlpp::Node* node, bool send_subtitles) const; + void send_binary (boost::shared_ptr<Socket> socket, bool send_subtitles) const; DCPTime time () const { return _time; |
