Basics of multiple captions per content so that DCPContent can
[dcpomatic.git] / src / lib / content.h
index 1e594e136bd50ca22246c623565f16c98e3de2e4..2a249011a55f4d889383b8a76702d8daaf71893d 100644 (file)
@@ -181,7 +181,10 @@ public:
 
        boost::shared_ptr<VideoContent> video;
        boost::shared_ptr<AudioContent> audio;
-       boost::shared_ptr<CaptionContent> caption;
+       std::list<boost::shared_ptr<CaptionContent> > caption;
+
+       boost::shared_ptr<CaptionContent> only_caption () const;
+       boost::shared_ptr<CaptionContent> caption_of_original_type (CaptionType type) const;
 
        void signal_changed (int);