diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-12 21:06:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-12 21:06:47 +0000 |
| commit | ac0a9000d5d6a62c4ef3e4902611b180501e09e1 (patch) | |
| tree | 6db45301529157db21ab0d54c36ce6ca4978a5e4 /src/lib/video_source.cc | |
| parent | 70447e72a5595fa03eb0a82b5e93247fcc5cad2b (diff) | |
Missing files.
Diffstat (limited to 'src/lib/video_source.cc')
| -rw-r--r-- | src/lib/video_source.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/video_source.cc b/src/lib/video_source.cc new file mode 100644 index 000000000..87b33026e --- /dev/null +++ b/src/lib/video_source.cc @@ -0,0 +1,11 @@ +#include "video_source.h" +#include "video_sink.h" + +using boost::shared_ptr; +using boost::bind; + +void +VideoSource::connect_video (shared_ptr<VideoSink> s) +{ + Video.connect (bind (&VideoSink::process_video, s, _1, _2)); +} |
