summaryrefslogtreecommitdiff
path: root/src/lib/video_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_sink.h')
-rw-r--r--src/lib/video_sink.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/lib/video_sink.h b/src/lib/video_sink.h
index 6239bc557..2da42528c 100644
--- a/src/lib/video_sink.h
+++ b/src/lib/video_sink.h
@@ -34,19 +34,7 @@ public:
* @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<const Image> i, bool same, boost::shared_ptr<Subtitle> 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<const Image> i, bool same, boost::shared_ptr<Subtitle> s, double t) = 0;
+ virtual void process_video (boost::shared_ptr<const Image> i, bool same, boost::shared_ptr<Subtitle> s, Time) = 0;
};
#endif