summaryrefslogtreecommitdiff
path: root/src/lib/video_source.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-26 23:41:02 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-26 23:41:02 +0100
commitf861018389acd9d277fe34d7621182b9b54f977f (patch)
tree499bae7640ce99a13c31ea9c870d426084480aec /src/lib/video_source.h
parentf09c6b53f155de601900afa90045059b20310c0d (diff)
parent86011ad6b4ea0004a51c59b0563cf89c0947546d (diff)
Merge master; fix crash on new film.
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 d2aa045a7..9b4c9b4a2 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,8 +63,9 @@ 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>);
};