summaryrefslogtreecommitdiff
path: root/src/lib/video_source.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-19 23:50:17 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-19 23:50:17 +0000
commit2f56f38ce56b36f20d59593f56981e7ed330c484 (patch)
tree1889f6eff9545010815775671df54064bc796201 /src/lib/video_source.h
parent13337c62d8c0d052ba0377af9c00fe1d940be3cc (diff)
Re-work again so that there's just one encoder; various tweaks to still-image-with-audio.
Diffstat (limited to 'src/lib/video_source.h')
-rw-r--r--src/lib/video_source.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/video_source.h b/src/lib/video_source.h
index d53589e2e..893629160 100644
--- a/src/lib/video_source.h
+++ b/src/lib/video_source.h
@@ -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>);
};