summaryrefslogtreecommitdiff
path: root/src/lib/examine_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-10 13:19:09 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-10 13:19:09 +0000
commit3d9b5186aa39150e53aef3bab09f4350f85cb885 (patch)
treeaec2493b2d319f2694ebe7304990c6addb702fc7 /src/lib/examine_content_job.cc
parent5c225839172ce9f0a9be81dabfbbeb3190a9ff20 (diff)
More various AudioStream hacks.
Diffstat (limited to 'src/lib/examine_content_job.cc')
-rw-r--r--src/lib/examine_content_job.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc
index 4646fe8fc..b13e9d9d5 100644
--- a/src/lib/examine_content_job.cc
+++ b/src/lib/examine_content_job.cc
@@ -59,10 +59,16 @@ void
ExamineContentJob::run ()
{
/* Decode the content to get an accurate length */
+
+ /* We don't want to use any existing length here, as progress
+ will be messed up.
+ */
+ _film->unset_length ();
shared_ptr<Options> o (new Options ("", "", ""));
o->out_size = Size (512, 512);
o->apply_crop = false;
+ o->decode_audio = false;
descend (0.5);