Try to fix the filter / AVFrame ownership.
[dcpomatic.git] / src / lib / video_source.cc
index 56742e2b4729a988680ee50bf5536e8682fbba16..539243402e0824f7551940fe0cb12d2313d77acf 100644 (file)
@@ -28,3 +28,17 @@ VideoSource::connect_video (shared_ptr<VideoSink> s)
 {
        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));
+}
+
+