Add basic content information, and some other bits.
[dcpomatic.git] / src / lib / video_source.h
index d53589e2e21448da56c83b6a437255a2a2563194..e60e7dfd09dce7fc16d31a126ddca4a83698a37e 100644 (file)
@@ -32,7 +32,7 @@ class VideoSink;
 class Subtitle;
 class Image;
 
-/** @class VideoSink
+/** @class VideoSource
  *  @param A class that emits video data.
  */
 class VideoSource
@@ -41,9 +41,10 @@ public:
 
        /** Emitted when a video frame is ready.
         *  First parameter is the video image.
-        *  Second parameter is either 0 or a subtitle that should be on this frame.
+        *  Second parameter is true if the image is the same as the last one that was emitted.
+        *  Third parameter is either 0 or a subtitle that should be on this frame.
         */
-       boost::signals2::signal<void (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>)> Video;
+       boost::signals2::signal<void (boost::shared_ptr<Image>, bool, boost::shared_ptr<Subtitle>)> Video;
 
        void connect_video (boost::shared_ptr<VideoSink>);
 };