Re-work again so that there's just one encoder; various tweaks to still-image-with...
[dcpomatic.git] / src / lib / video_sink.h
index 78500c643a46cb4e8c181775bbb60a848b96e382..7c128cf73008d7ca8e71a5f4aa5c3aa52b3b4f8a 100644 (file)
@@ -31,9 +31,10 @@ class VideoSink
 public:
        /** Call with a frame of video.
         *  @param i Video frame image.
+        *  @param same true if i is the same as last time we were called.
         *  @param s A subtitle that should be on this frame, or 0.
         */
-       virtual void process_video (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s) = 0;
+       virtual void process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr<Subtitle> s) = 0;
 };
 
 #endif