summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-26 21:06:27 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-26 21:06:27 +0000
commitcef07676fb15c9f1c3c3073d22f06ffe95d9c2ce (patch)
treead67d2991961429c52dda4d7adc1ded37ce71c0a /src/lib/ffmpeg_content.h
parent2b54b284e2c2ffcaa082b1c201abecf25edc21c9 (diff)
Allow changes to colours of FFmpeg subtitles (#795).
Diffstat (limited to 'src/lib/ffmpeg_content.h')
-rw-r--r--src/lib/ffmpeg_content.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h
index c7dc374fd..e9cb3dacf 100644
--- a/src/lib/ffmpeg_content.h
+++ b/src/lib/ffmpeg_content.h
@@ -37,6 +37,7 @@ class FFmpegContentProperty : public VideoContentProperty
{
public:
static int const SUBTITLE_STREAMS;
+ /** The chosen subtitle stream, or something about it */
static int const SUBTITLE_STREAM;
static int const FILTERS;
};
@@ -105,6 +106,8 @@ public:
std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
+ void signal_subtitle_stream_changed ();
+
protected:
void add_properties (std::list<UserProperty> &) const;