Fix incorrect conversion of audio from DCP sources (#642).
[dcpomatic.git] / src / lib / dcp_content.h
index 74f06cdc640adaa8a7337becaf1bb31ae5508534..d7a29c6ed97c49f89ea0207730c92c10d2d59a8f 100644 (file)
@@ -51,7 +51,7 @@ public:
        }
 
        DCPTime full_length () const;
-       
+
        void examine (boost::shared_ptr<Job>);
        std::string summary () const;
        std::string technical_summary () const;
@@ -59,11 +59,16 @@ public:
        std::string identifier () const;
 
        /* SubtitleContent */
-       bool has_subtitles () const {
+
+       bool has_text_subtitles () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _has_subtitles;
        }
-       
+
+       bool has_image_subtitles () const {
+               return false;
+       }
+
        boost::filesystem::path directory () const;
 
        bool encrypted () const {
@@ -78,10 +83,13 @@ public:
        }
 
        bool can_be_played () const;
-       
+
+protected:
+       void add_properties (std::list<std::pair<std::string, std::string> >& p) const;
+
 private:
        void read_directory (boost::filesystem::path);
-       
+
        std::string _name;
        bool _has_subtitles;
        /** true if our DCP is encrypted */