X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_sink.h;h=957aeb4b4e8fd3cc3339ed5b3d37268ee9273b37;hb=46cd0fe7b5b514f0d9456b25f670679cc584a218;hp=6239bc557ab68ac43b28f356372404a21566109b;hpb=92cafb6fc686a041354da2eabde6bcb2f6846e1d;p=dcpomatic.git diff --git a/src/lib/video_sink.h b/src/lib/video_sink.h index 6239bc557..957aeb4b4 100644 --- a/src/lib/video_sink.h +++ b/src/lib/video_sink.h @@ -32,21 +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 i, bool same, boost::shared_ptr s) = 0; -}; - -class TimedVideoSink -{ -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. - * @param t Source timestamp. - */ - virtual void process_video (boost::shared_ptr i, bool same, boost::shared_ptr s, double t) = 0; + virtual void process_video (boost::shared_ptr i, bool same, Time) = 0; }; #endif