summaryrefslogtreecommitdiff
path: root/src/lib/tiff_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-04 17:09:43 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-04 17:09:43 +0000
commit752bba7eb39d6f775a3ecb3ca3e19d7884626a4e (patch)
tree235b558aec10da89dca7484686ff035cbef4811c /src/lib/tiff_decoder.cc
parentac712b45bad948fc8f38cf4fa48a529f2024c7f5 (diff)
Revert "Remove minimal flag."
This reverts commit ac712b45bad948fc8f38cf4fa48a529f2024c7f5.
Diffstat (limited to 'src/lib/tiff_decoder.cc')
-rw-r--r--src/lib/tiff_decoder.cc6
1 files changed, 4 insertions, 2 deletions
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<Film> f, boost::shared_ptr<const Options> o, Job* j)
- : Decoder (f, o, j)
+TIFFDecoder::TIFFDecoder (boost::shared_ptr<Film> f, boost::shared_ptr<const Options> o, Job* j, bool minimal)
+ : Decoder (f, o, j, minimal)
{
string const dir = _film->content_path ();