diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-04 17:09:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-04 17:09:43 +0000 |
| commit | 752bba7eb39d6f775a3ecb3ca3e19d7884626a4e (patch) | |
| tree | 235b558aec10da89dca7484686ff035cbef4811c /src/lib/decoder.h | |
| parent | ac712b45bad948fc8f38cf4fa48a529f2024c7f5 (diff) | |
Revert "Remove minimal flag."
This reverts commit ac712b45bad948fc8f38cf4fa48a529f2024c7f5.
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h index fe8149af9..5750858df 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -52,7 +52,7 @@ class FilterGraph; class Decoder { public: - Decoder (boost::shared_ptr<Film>, boost::shared_ptr<const Options>, Job *); + Decoder (boost::shared_ptr<Film>, boost::shared_ptr<const Options>, Job *, bool); virtual ~Decoder (); /* Methods to query our input video */ @@ -121,6 +121,11 @@ protected: /** associated Job, or 0 */ Job* _job; + /** 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. + */ + bool _minimal; + private: void emit_audio (uint8_t* data, int size); |
