summaryrefslogtreecommitdiff
path: root/src/lib/subrip_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/subrip_content.h
parent08ea137fc8a74f622821dc4e6953f635837118c8 (diff)
Prevent DCP creation if we're trying not to burn in text subs (#606).
Diffstat (limited to 'src/lib/subrip_content.h')
-rw-r--r--src/lib/subrip_content.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/subrip_content.h b/src/lib/subrip_content.h
index 09346a174..342efd4de 100644
--- a/src/lib/subrip_content.h
+++ b/src/lib/subrip_content.h
@@ -37,10 +37,15 @@ public:
DCPTime full_length () const;
/* SubtitleContent */
- bool has_subtitles () const {
+
+ bool has_text_subtitles () const {
return true;
}
+ bool has_image_subtitles () const {
+ return false;
+ }
+
static std::string const font_id;
private: