+
+ /** Called with a frame of video.
+ * @param i Video frame image.
+ * @param s A subtitle that should be on this frame, or 0.
+ */
+ virtual void do_process_video (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s) = 0;
+
+ /** Called with some audio data */
+ virtual void do_process_audio (boost::shared_ptr<AudioBuffers>) = 0;
+
+ void frame_done ();