diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-04 17:30:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-04 17:30:50 +0000 |
| commit | 83c296968eb998ae5bdb210f37305fc49f308c4f (patch) | |
| tree | de1f8171faa2cbf2f83f953b67cf1d76b8722a79 /src/lib/examine_content_job.cc | |
| parent | 752bba7eb39d6f775a3ecb3ca3e19d7884626a4e (diff) | |
Rework counting of audio / video in the decoder a bit.
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 ec0d2409b..d325102a3 100644 --- a/src/lib/examine_content_job.cc +++ b/src/lib/examine_content_job.cc @@ -69,9 +69,9 @@ ExamineContentJob::run () _decoder = decoder_factory (_film, o, this, true); _decoder->go (); - _film->set_length (_decoder->video_frame_index()); + _film->set_length (_decoder->video_frames_in()); - _film->log()->log (String::compose ("Video length is %1 frames", _decoder->video_frame_index())); + _film->log()->log (String::compose ("Video length is %1 frames", _film->length())); ascend (); |
