summaryrefslogtreecommitdiff
path: root/src/lib/examine_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-16 12:18:08 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-16 12:18:08 +0000
commit9c58fcdb6fd8131c17456dd71c5c277a6b0ae053 (patch)
treeb18c58859a4b2365be252253e47c578bb1c33bf7 /src/lib/examine_content_job.cc
parent6375f7268d0acd53c6dc7968e17a15471fba3a45 (diff)
Integrated FFmpeg player (slow).
Diffstat (limited to 'src/lib/examine_content_job.cc')
-rw-r--r--src/lib/examine_content_job.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc
index 7e0f7692b..5c565cd88 100644
--- a/src/lib/examine_content_job.cc
+++ b/src/lib/examine_content_job.cc
@@ -73,14 +73,14 @@ ExamineContentJob::run ()
descend (1);
- pair<shared_ptr<VideoDecoder>, shared_ptr<AudioDecoder> > decoders = decoder_factory (_film, o, this);
+ Decoders decoders = decoder_factory (_film, o, this);
set_progress_unknown ();
- while (!decoders.first->pass()) {
+ while (!decoders.video->pass()) {
/* keep going */
}
- _film->set_length (decoders.first->video_frame());
+ _film->set_length (decoders.video->video_frame());
_film->log()->log (String::compose ("Video length is %1 frames", _film->length()));