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/decoder.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/decoder.h') 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, boost::shared_ptr, Job *); + Decoder (boost::shared_ptr, boost::shared_ptr, 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); -- cgit v1.2.3