summaryrefslogtreecommitdiff
path: root/src/lib/video_source.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-24 01:02:25 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-24 01:02:25 +0100
commit8dd9ea3086b4934f2719648ffa6333c0d106ff36 (patch)
tree15f334ab2d096d0a7f310c1427ff8a3107eae069 /src/lib/video_source.h
parentbe1862fefb1378c78bcc4bd6334694797755ea47 (diff)
Some const correctness.
Diffstat (limited to 'src/lib/video_source.h')
-rw-r--r--src/lib/video_source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_source.h b/src/lib/video_source.h
index e4a8ab058..748cb6fe9 100644
--- a/src/lib/video_source.h
+++ b/src/lib/video_source.h
@@ -45,7 +45,7 @@ public:
* 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>, bool, boost::shared_ptr<Subtitle>)> Video;
+ boost::signals2::signal<void (boost::shared_ptr<const Image>, bool, boost::shared_ptr<Subtitle>)> Video;
void connect_video (boost::shared_ptr<VideoSink>);
};
@@ -63,7 +63,7 @@ public:
* Third parameter is either 0 or a subtitle that should be on this frame.
* Fourth parameter is the source timestamp of this frame.
*/
- boost::signals2::signal<void (boost::shared_ptr<Image>, bool, boost::shared_ptr<Subtitle>, double)> Video;
+ boost::signals2::signal<void (boost::shared_ptr<const Image>, bool, boost::shared_ptr<Subtitle>, double)> Video;
void connect_video (boost::shared_ptr<VideoSink>);
void connect_video (boost::shared_ptr<TimedVideoSink>);