a5c16ec7f5ccca2ffacba0f92c7d8ebaf9f5a0fa
[dcpomatic.git] / src / lib / video_sink.h
1 #ifndef DVDOMATIC_VIDEO_SINK_H
2 #define DVDOMATIC_VIDEO_SINK_H
3
4 #include <boost/shared_ptr.hpp>
5 #include "util.h"
6
7 class Subtitle;
8 class Image;
9
10 class VideoSink
11 {
12 public:
13         /** Call with a frame of video.
14          *  @param i Video frame image.
15          *  @param s A subtitle that should be on this frame, or 0.
16          */
17         virtual void process_video (boost::shared_ptr<Image> i, boost::shared_ptr<Subtitle> s) = 0;
18 };
19
20 #endif