summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_subtitle_stream.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-26 10:41:51 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-26 10:41:51 +0100
commit917eaf28db474a4c605eaaa8347a3e9a86b70aa0 (patch)
tree1f1512740bfe90ffd3c5dee0e4c3c065a5803d31 /src/lib/ffmpeg_subtitle_stream.h
parentd0a8ad99117ef265561e1b6d4cfee2704cbbbb03 (diff)
Tidy up image/text subtitle distinction with FFmpeg sources.
Diffstat (limited to 'src/lib/ffmpeg_subtitle_stream.h')
-rw-r--r--src/lib/ffmpeg_subtitle_stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_subtitle_stream.h b/src/lib/ffmpeg_subtitle_stream.h
index c03004b32..f79e7aca7 100644
--- a/src/lib/ffmpeg_subtitle_stream.h
+++ b/src/lib/ffmpeg_subtitle_stream.h
@@ -42,6 +42,9 @@ public:
void set_colour (RGBA from, RGBA to);
std::map<RGBA, RGBA> colours () const;
+ bool has_text () const;
+ bool has_image () const;
+
private:
typedef std::map<std::string, ContentTimePeriod> PeriodMap;