summaryrefslogtreecommitdiff
path: root/src/lib/examine_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-04 17:30:50 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-04 17:30:50 +0000
commit83c296968eb998ae5bdb210f37305fc49f308c4f (patch)
treede1f8171faa2cbf2f83f953b67cf1d76b8722a79 /src/lib/examine_content_job.cc
parent752bba7eb39d6f775a3ecb3ca3e19d7884626a4e (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.cc4
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 ();