Try to fix the filter / AVFrame ownership.
[dcpomatic.git] / src / lib / video_source.cc
index af6f941fd1f3f00a2b6ea2055e879bd75ddbf337..539243402e0824f7551940fe0cb12d2313d77acf 100644 (file)
@@ -34,3 +34,11 @@ 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));
+}
+
+