summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
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/ffmpeg_content.cc
parent08ea137fc8a74f622821dc4e6953f635837118c8 (diff)
Prevent DCP creation if we're trying not to burn in text subs (#606).
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index c4fc36357..8feb7df57 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -298,7 +298,13 @@ FFmpegContent::subtitles_during (ContentTimePeriod period, bool starting) const
}
bool
-FFmpegContent::has_subtitles () const
+FFmpegContent::has_text_subtitles () const
+{
+ return false;
+}
+
+bool
+FFmpegContent::has_image_subtitles () const
{
return !subtitle_streams().empty ();
}