summaryrefslogtreecommitdiff
path: root/src/lib/examine_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-08 13:07:16 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-08 13:07:16 +0000
commit2e536ef0971edefea23810b99f7706881072783b (patch)
tree8b96ac62795a5953e942bd6fc0d35d8690b6dfce /src/lib/examine_content_job.cc
parent567abac0d7824f27b8fdcd6fb7da7e5ddae62a0f (diff)
Shuffle Job pointers around slightly.
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 69a757e2b..94e5320fe 100644
--- a/src/lib/examine_content_job.cc
+++ b/src/lib/examine_content_job.cc
@@ -81,7 +81,7 @@ ExamineContentJob::run ()
DecodeOptions o;
o.decode_audio = false;
- Decoders decoders = decoder_factory (_film, o, this);
+ Decoders decoders = decoder_factory (_film, o);
set_progress_unknown ();
while (!decoders.video->pass()) {
@@ -96,7 +96,7 @@ ExamineContentJob::run ()
/* Get a quick decoder to get the content's length from its header */
- Decoders d = decoder_factory (_film, DecodeOptions(), 0);
+ Decoders d = decoder_factory (_film, DecodeOptions());
_film->set_length (d.video->length());
_film->log()->log (String::compose ("Video length obtained from header as %1 frames", _film->length().get()));