- /** Call with a frame of video.
- * @param i Video frame image.
- * @param same true if i is the same as the last time we were called.
- * @param s A subtitle that should be on this frame, or 0.
- */
- void process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr<Subtitle> s);
-
- /** Call with some audio data */
- void process_audio (boost::shared_ptr<AudioBuffers>);
+ /** Called to pass a bit of video to be encoded as the next DCP frame */
+ void encode (boost::shared_ptr<PlayerVideo> f);