diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-19 23:50:17 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-19 23:50:17 +0000 |
| commit | 2f56f38ce56b36f20d59593f56981e7ed330c484 (patch) | |
| tree | 1889f6eff9545010815775671df54064bc796201 /src/lib/matcher.cc | |
| parent | 13337c62d8c0d052ba0377af9c00fe1d940be3cc (diff) | |
Re-work again so that there's just one encoder; various tweaks to still-image-with-audio.
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 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<Image> i, boost::shared_ptr<Subtitle> s) +Matcher::process_video (boost::shared_ptr<Image> i, bool same, boost::shared_ptr<Subtitle> s) { - Video (i, s); + Video (i, same, s); _video_frames++; _pixel_format = i->pixel_format (); @@ -84,7 +84,7 @@ Matcher::process_end () shared_ptr<Image> 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<Subtitle>()); + Video (black, i != 0, shared_ptr<Subtitle>()); } /* Now recompute our check value */ |
