Basics of FFmpeg examiner works.
[dcpomatic.git] / src / lib / combiner.h
index 062297f0dca31824f2ff262c2d7cf9a9fc318c24..46c90b4d8129e56aff5fa47f9b043f2ef0f5bcbe 100644 (file)
  *  @brief Class for combining two video streams.
  */
 
-#include "processor.h"
+#include "video_source.h"
+#include "video_sink.h"
 
 /** @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 VideoProcessor
+class Combiner : public VideoSource, public VideoSink
 {
 public:
-       Combiner (boost::shared_ptr<Log> log);
+       Combiner ();
 
-       void process_video (boost::shared_ptr<const Image> i, bool, boost::shared_ptr<Subtitle> s, Time);
-       void process_video_b (boost::shared_ptr<const Image> i, bool, boost::shared_ptr<Subtitle> s, Time);
+       void process_video (boost::shared_ptr<const Image> i, bool, Time);
+       void process_video_b (boost::shared_ptr<const Image> i, bool, Time);
 
 private:
        /** The image that we are currently working on */