Try to fix the filter / AVFrame ownership.
[dcpomatic.git] / src / lib / video_source.cc
index c6bd4a5cf22d6ab3f0b1cf2458a70361b83a6227..539243402e0824f7551940fe0cb12d2313d77acf 100644 (file)
@@ -26,5 +26,19 @@ using boost::bind;
 void
 VideoSource::connect_video (shared_ptr<VideoSink> s)
 {
-       Video.connect (bind (&VideoSink::process_video, s, _1, _2));
+       Video.connect (bind (&VideoSink::process_video, s, _1, _2, _3));
 }
+
+void
+TimedVideoSource::connect_video (shared_ptr<TimedVideoSink> s)
+{
+       Video.connect (bind (&TimedVideoSink::process_video, s, _1, _2, _3, _4));
+}
+
+void
+TimedVideoSource::connect_video (shared_ptr<VideoSink> s)
+{
+       Video.connect (bind (&VideoSink::process_video, s, _1, _2, _3));
+}
+
+