X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmatcher.cc;h=48f6ed9126dd980c13b79b6665a3a82ad203bf9b;hb=7f203e4df9ca94a44099c26158c6c81b5299567f;hp=3a513b24ea7c8224e6fe04ae51dd6d7f5019069b;hpb=18614dda0d53b713ace5ad1df57298d049dba87f;p=dcpomatic.git diff --git a/src/lib/matcher.cc b/src/lib/matcher.cc index 3a513b24e..48f6ed912 100644 --- a/src/lib/matcher.cc +++ b/src/lib/matcher.cc @@ -26,8 +26,8 @@ using std::min; using boost::shared_ptr; -Matcher::Matcher (Log* log, int sample_rate, float frames_per_second) - : Processor (log) +Matcher::Matcher (shared_ptr log, int sample_rate, float frames_per_second) + : AudioVideoProcessor (log) , _sample_rate (sample_rate) , _frames_per_second (frames_per_second) , _video_frames (0) @@ -37,7 +37,7 @@ Matcher::Matcher (Log* log, int sample_rate, float frames_per_second) } void -Matcher::process_video (boost::shared_ptr i, bool same, boost::shared_ptr s, double) +Matcher::process_video (boost::shared_ptr i, bool same, boost::shared_ptr s) { Video (i, same, s); _video_frames++; @@ -47,7 +47,7 @@ Matcher::process_video (boost::shared_ptr i, bool same, boost::shared_ptr } void -Matcher::process_audio (boost::shared_ptr b, double) +Matcher::process_audio (boost::shared_ptr b) { Audio (b); _audio_frames += b->frames ();