summaryrefslogtreecommitdiff
path: root/src/lib/dcp_video.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-01 17:03:16 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-01 17:03:16 +0100
commit096660d2cc3e65ae5e13a69e7ace19ff0d48b39a (patch)
treefa1c32fd182c7cd19ab5565cdd411445d06dbe8d /src/lib/dcp_video.h
parent7632d0d3da495443b80334363399172e54ebfd7c (diff)
Only burn subtitles if it is turned on.
Diffstat (limited to 'src/lib/dcp_video.h')
-rw-r--r--src/lib/dcp_video.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dcp_video.h b/src/lib/dcp_video.h
index 7b01966bd..05a0b4ce3 100644
--- a/src/lib/dcp_video.h
+++ b/src/lib/dcp_video.h
@@ -101,7 +101,7 @@ public:
class DCPVideo : public boost::noncopyable
{
public:
- DCPVideo (boost::shared_ptr<const PlayerVideo>, int, int, int, Resolution, boost::shared_ptr<Log>);
+ DCPVideo (boost::shared_ptr<const PlayerVideo>, int, int, int, Resolution, bool b, boost::shared_ptr<Log>);
DCPVideo (boost::shared_ptr<const PlayerVideo>, cxml::ConstNodePtr, boost::shared_ptr<Log>);
boost::shared_ptr<EncodedData> encode_locally ();
@@ -122,6 +122,7 @@ private:
int _frames_per_second; ///< Frames per second that we will use for the DCP
int _j2k_bandwidth; ///< J2K bandwidth to use
Resolution _resolution; ///< Resolution (2K or 4K)
+ bool _burn_subtitles; ///< true to burn subtitles into the image
boost::shared_ptr<Log> _log; ///< log
};