Fix seeks past the end of video files.
[dcpomatic.git] / src / lib / video_sink.h
index 7c128cf73008d7ca8e71a5f4aa5c3aa52b3b4f8a..957aeb4b4e8fd3cc3339ed5b3d37268ee9273b37 100644 (file)
@@ -17,8 +17,8 @@
 
 */
 
-#ifndef DVDOMATIC_VIDEO_SINK_H
-#define DVDOMATIC_VIDEO_SINK_H
+#ifndef DCPOMATIC_VIDEO_SINK_H
+#define DCPOMATIC_VIDEO_SINK_H
 
 #include <boost/shared_ptr.hpp>
 #include "util.h"
@@ -32,9 +32,8 @@ 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, bool same, boost::shared_ptr<Subtitle> s) = 0;
+       virtual void process_video (boost::shared_ptr<const Image> i, bool same, Time) = 0;
 };
 
 #endif