Fix typo preventing audio sync fixes when audio follows video.
[dcpomatic.git] / src / lib / combiner.h
index 021fac6daca926786ab442c147987342900ff7b3..7ed316e26934cd663a0ab9ae92aa64d4ddca8952 100644 (file)
 
 */
 
+/** @file src/lib/combiner.h
+ *  @brief Class for combining two video streams.
+ */
+
 #include "processor.h"
 
-class Combiner : public VideoProcessor
+/** @class Combiner
+ *  @brief A class which can combine two video streams into one, with
+ *  one image used for the left half of the screen and the other for
+ *  the right.
+ */
+class Combiner : public TimedVideoProcessor
 {
 public:
-       Combiner (Log* log);
+       Combiner (boost::shared_ptr<Log> log);
 
-       void process_video (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s);
-       void process_video_b (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s);
+       void process_video (boost::shared_ptr<const Image> i, bool, boost::shared_ptr<Subtitle> s, double);
+       void process_video_b (boost::shared_ptr<const Image> i, bool, boost::shared_ptr<Subtitle> s, double);
 
 private:
+       /** The image that we are currently working on */
        boost::shared_ptr<Image> _image;
 };