summaryrefslogtreecommitdiff
path: root/src/lib/video_source.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-10 23:31:25 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-10 23:31:25 +0100
commit0db016f90ae722fc8b72d465e21d9f153f72b340 (patch)
tree71aa0a91550c7456daf41b5a74455c2cc1b12f82 /src/lib/video_source.h
parentd683883c4dc25cb612f6d5feb1e772016182e722 (diff)
Remove Timed*Sink and Timed*Source>
Diffstat (limited to 'src/lib/video_source.h')
-rw-r--r--src/lib/video_source.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/lib/video_source.h b/src/lib/video_source.h
index 9b4c9b4a2..7ad554480 100644
--- a/src/lib/video_source.h
+++ b/src/lib/video_source.h
@@ -29,7 +29,6 @@
#include "util.h"
class VideoSink;
-class TimedVideoSink;
class Subtitle;
class Image;
@@ -45,28 +44,9 @@ 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<const Image>, bool, boost::shared_ptr<Subtitle>)> Video;
+ boost::signals2::signal<void (boost::shared_ptr<const Image>, bool, boost::shared_ptr<Subtitle>, Time)> Video;
void connect_video (boost::shared_ptr<VideoSink>);
};
-/** @class TimedVideoSource
- * @param A class that emits video data with timestamps.
- */
-class TimedVideoSource
-{
-public:
-
- /** Emitted when a video frame is ready.
- * First parameter is the video image.
- * 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.
- * Fourth parameter is the source timestamp of this frame.
- */
- 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>);
-};
-
#endif