diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-26 10:41:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-26 10:41:51 +0100 |
| commit | 917eaf28db474a4c605eaaa8347a3e9a86b70aa0 (patch) | |
| tree | 1f1512740bfe90ffd3c5dee0e4c3c065a5803d31 /src/lib/subtitle_content.h | |
| parent | d0a8ad99117ef265561e1b6d4cfee2704cbbbb03 (diff) | |
Tidy up image/text subtitle distinction with FFmpeg sources.
Diffstat (limited to 'src/lib/subtitle_content.h')
| -rw-r--r-- | src/lib/subtitle_content.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/subtitle_content.h b/src/lib/subtitle_content.h index 502fad427..2aa33f172 100644 --- a/src/lib/subtitle_content.h +++ b/src/lib/subtitle_content.h @@ -44,6 +44,12 @@ public: static int const OUTLINE_COLOUR; }; +/** @class SubtitleContent + * @brief Description of how some subtitle content should be presented. + * + * There are `image' subtitles (bitmaps) and `text' subtitles (plain text), + * and not all of the settings in this class correspond to both types. + */ class SubtitleContent : public ContentPart { public: @@ -53,11 +59,6 @@ public: void as_xml (xmlpp::Node *) const; std::string identifier () const; - bool has_image_subtitles () const { - /* XXX */ - return true; - } - void add_font (boost::shared_ptr<Font> font); void set_use (bool); |
