summaryrefslogtreecommitdiff
path: root/src/lib/video_sink.h
blob: a5c16ec7f5ccca2ffacba0f92c7d8ebaf9f5a0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef DVDOMATIC_VIDEO_SINK_H
#define DVDOMATIC_VIDEO_SINK_H

#include <boost/shared_ptr.hpp>
#include "util.h"

class Subtitle;
class Image;

class VideoSink
{
public:
	/** Call with a frame of video.
	 *  @param i Video frame image.
	 *  @param s A subtitle that should be on this frame, or 0.
	 */
	virtual void process_video (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s) = 0;
};

#endif