summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-21 02:02:42 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-21 02:02:42 +0100
commit7fff85ef947f9353317c0125dc37f1f16faecbf1 (patch)
treecb843452d7f1f442530f72ae92967bf1f25d3ccc /src/lib/dcp_content.h
parent08ea137fc8a74f622821dc4e6953f635837118c8 (diff)
Prevent DCP creation if we're trying not to burn in text subs (#606).
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 54527422e..2d0aaacde 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -59,11 +59,16 @@ public:
std::string identifier () const;
/* SubtitleContent */
- bool has_subtitles () const {
+
+ bool has_text_subtitles () const {
boost::mutex::scoped_lock lm (_mutex);
return _has_subtitles;
}
+ bool has_image_subtitles () const {
+ return false;
+ }
+
boost::filesystem::path directory () const;
bool encrypted () const {