diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-03-05 23:10:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-03-05 23:10:16 +0000 |
| commit | 18614dda0d53b713ace5ad1df57298d049dba87f (patch) | |
| tree | e68887db77ec57a2de344f8230b0e801030bdca5 /src/lib/matcher.cc | |
| parent | 8fa7b8c13a76bd54207156de7bb0d09316bad379 (diff) | |
Split timed from untimed sinks / sources. Should produce same output, in theory.
Diffstat (limited to 'src/lib/matcher.cc')
| -rw-r--r-- | src/lib/matcher.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/matcher.cc b/src/lib/matcher.cc index 4cd264338..3a513b24e 100644 --- a/src/lib/matcher.cc +++ b/src/lib/matcher.cc @@ -27,7 +27,7 @@ using std::min; using boost::shared_ptr; Matcher::Matcher (Log* log, int sample_rate, float frames_per_second) - : AudioVideoProcessor (log) + : Processor (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<Image> i, bool same, boost::shared_ptr<Subtitle> s) +Matcher::process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr<Subtitle> s, double) { Video (i, same, s); _video_frames++; @@ -47,7 +47,7 @@ Matcher::process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr } void -Matcher::process_audio (boost::shared_ptr<AudioBuffers> b) +Matcher::process_audio (boost::shared_ptr<AudioBuffers> b, double) { Audio (b); _audio_frames += b->frames (); |
