Tidy up image/text subtitle distinction with FFmpeg sources.
[dcpomatic.git] / src / lib / subtitle_content.h
index 502fad4278d863c90c22e8c6b6cd7cafeeffabeb..2aa33f1727f9ec47c24bee577d34b7c544c1c873 100644 (file)
@@ -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);