From 2f56f38ce56b36f20d59593f56981e7ed330c484 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 19 Dec 2012 23:50:17 +0000 Subject: Re-work again so that there's just one encoder; various tweaks to still-image-with-audio. --- src/lib/matcher.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/matcher.cc') diff --git a/src/lib/matcher.cc b/src/lib/matcher.cc index 2dd36c11e..2b7a080fc 100644 --- a/src/lib/matcher.cc +++ b/src/lib/matcher.cc @@ -35,9 +35,9 @@ Matcher::Matcher (Log* log, int sample_rate, float frames_per_second) } void -Matcher::process_video (boost::shared_ptr i, boost::shared_ptr s) +Matcher::process_video (boost::shared_ptr i, bool same, boost::shared_ptr s) { - Video (i, s); + Video (i, same, s); _video_frames++; _pixel_format = i->pixel_format (); @@ -84,7 +84,7 @@ Matcher::process_end () shared_ptr black (new SimpleImage (_pixel_format.get(), _size.get(), false)); black->make_black (); for (int i = 0; i < black_video_frames; ++i) { - Video (black, shared_ptr()); + Video (black, i != 0, shared_ptr()); } /* Now recompute our check value */ -- cgit v1.2.3