Basics of multiple captions per content so that DCPContent can
[dcpomatic.git] / src / lib / decoder.h
index c3b330cfbcd49bdf376cba575ca52c7e5ab2d258..d48df7517814aeb14de7b499f510615dd186d0dc 100644 (file)
@@ -45,7 +45,9 @@ public:
 
        boost::shared_ptr<VideoDecoder> video;
        boost::shared_ptr<AudioDecoder> audio;
-       boost::shared_ptr<CaptionDecoder> caption;
+       std::list<boost::shared_ptr<CaptionDecoder> > caption;
+
+       boost::shared_ptr<CaptionDecoder> only_caption () const;
 
        /** Do some decoding and perhaps emit video, audio or subtitle data.
         *  @return true if this decoder will emit no more data unless a seek() happens.