diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-21 02:02:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-21 02:02:42 +0100 |
| commit | 7fff85ef947f9353317c0125dc37f1f16faecbf1 (patch) | |
| tree | cb843452d7f1f442530f72ae92967bf1f25d3ccc /src/lib/subrip_content.h | |
| parent | 08ea137fc8a74f622821dc4e6953f635837118c8 (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.h | 7 |
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: |
