Merge remote-tracking branch 'origin/master' into 2.0
[dcpomatic.git] / src / lib / dcp_subtitle_content.h
index 79338c1af6d7e4137001a5c8c35765aa6d0c7c61..5794b59516e6767f586cc5d0a33663b2ed9ef376 100644 (file)
@@ -25,6 +25,7 @@ public:
        DCPSubtitleContent (boost::shared_ptr<const Film>, boost::filesystem::path);
        DCPSubtitleContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int);
 
+       /* Content */
        void examine (boost::shared_ptr<Job>);
        std::string summary () const;
        std::string technical_summary () const;
@@ -32,6 +33,11 @@ public:
        void as_xml (xmlpp::Node *) const;
        DCPTime full_length () const;
 
+       /* SubtitleContent */
+       bool has_subtitles () const {
+               return true;
+       }
+
 private:
        DCPTime _length;
 };