From 752bba7eb39d6f775a3ecb3ca3e19d7884626a4e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 4 Nov 2012 17:09:43 +0000 Subject: Revert "Remove minimal flag." This reverts commit ac712b45bad948fc8f38cf4fa48a529f2024c7f5. --- src/lib/tiff_decoder.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/tiff_decoder.cc') diff --git a/src/lib/tiff_decoder.cc b/src/lib/tiff_decoder.cc index 7cca511dd..2c050def6 100644 --- a/src/lib/tiff_decoder.cc +++ b/src/lib/tiff_decoder.cc @@ -44,9 +44,11 @@ using namespace boost; /** @param f Our Film. * @param o Options. * @param j Job that we are associated with, or 0. + * @param minimal true to do the bare minimum of work; just run through the content. Useful for acquiring + * accurate frame counts as quickly as possible. This generates no video or audio output. */ -TIFFDecoder::TIFFDecoder (boost::shared_ptr f, boost::shared_ptr o, Job* j) - : Decoder (f, o, j) +TIFFDecoder::TIFFDecoder (boost::shared_ptr f, boost::shared_ptr o, Job* j, bool minimal) + : Decoder (f, o, j, minimal) { string const dir = _film->content_path (); -- cgit v1.2.3