- void process_begin ();
- bool pass ();
- void process_end ();
- void go ();
-
- /** @return the index of the last video frame to be processed */
- int last_video_frame () const {
- return _video_frame;
- }
-
- virtual std::vector<Stream> audio_streams () const {
- return std::vector<Stream> ();
- }
-
- virtual std::vector<Stream> subtitle_streams () const {
- return std::vector<Stream> ();
- }
-
- virtual void set_audio_stream (Stream s) {}
- virtual void set_subtitle_stream (Stream s) {}
-
- /** Emitted when a video frame is ready.
- * First parameter is the frame.
- * Second parameter is its index within the content.
- * Third parameter is either 0 or a subtitle that should be on this frame.
- */
- sigc::signal<void, boost::shared_ptr<Image>, int, boost::shared_ptr<Subtitle> > Video;
-
- /** Emitted when some audio data is ready.
- * First parameter is an array of pointers to deinterleaved, floating point sample data for each channel.
- * Second parameter is the size of the data in frames (ie samples on each channel).
- */
- sigc::signal<void, float**, int> Audio;
-