diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-04 16:59:00 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-04 16:59:00 +0000 |
| commit | ac712b45bad948fc8f38cf4fa48a529f2024c7f5 (patch) | |
| tree | 4e82a43b9f700e26faa9836a88f581a5a4c6bf75 /src/lib/decoder.cc | |
| parent | 1d96023ab3987e55fd6452f655dfb900c6012881 (diff) | |
Remove minimal flag.
Diffstat (limited to 'src/lib/decoder.cc')
| -rw-r--r-- | src/lib/decoder.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index ee2beb3f3..34c04b260 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -46,14 +46,11 @@ using boost::shared_ptr; /** @param f Film. * @param o Options. * @param j Job that we are running within, 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. */ -Decoder::Decoder (boost::shared_ptr<Film> f, boost::shared_ptr<const Options> o, Job* j, bool minimal) +Decoder::Decoder (boost::shared_ptr<Film> f, boost::shared_ptr<const Options> o, Job* j) : _film (f) , _opt (o) , _job (j) - , _minimal (minimal) , _video_frame_index (0) , _delay_line (0) , _delay_in_bytes (0) @@ -250,11 +247,6 @@ Decoder::process_video (AVFrame* frame) { assert (_film->length()); - if (_minimal) { - ++_video_frame_index; - return; - } - /* Use Film::length here as our one may be wrong */ if (_opt->decode_video_skip != 0 && (_video_frame_index % _opt->decode_video_skip) != 0) { |
