diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-05 10:36:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-05 10:36:55 +0000 |
| commit | ca4d051ceafb77c281583c4e50b391f230544313 (patch) | |
| tree | f3bb8a080dd87feae70ed90cb93d99e4bdd7e4a2 /src/lib/examine_content_job.cc | |
| parent | 10a001a0c7cf33d384d9613168d80c0c5a07426c (diff) | |
Move trimming into the encoder; seems to be cleaner.
Diffstat (limited to 'src/lib/examine_content_job.cc')
| -rw-r--r-- | src/lib/examine_content_job.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc index d325102a3..4646fe8fc 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -66,10 +66,10 @@ ExamineContentJob::run () descend (0.5); - _decoder = decoder_factory (_film, o, this, true); + _decoder = decoder_factory (_film, o, this); _decoder->go (); - _film->set_length (_decoder->video_frames_in()); + _film->set_length (_decoder->video_frame()); _film->log()->log (String::compose ("Video length is %1 frames", _film->length())); |
