summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-19 13:47:34 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-19 13:47:34 +0100
commita6d892268ccdf8e50194c0168491c8a360bbb687 (patch)
tree80d8007be63f7b9f52bdc46e0171d79454a94597 /src/lib/writer.cc
parent91273da19c689e44f3baa368d4b4efbe75cd8fe5 (diff)
parent7370f2b159a539d4a7721a50d0f3dc56ba14c678 (diff)
Merge branch '1.0-alt-loop' into 1.0
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index b3d2fdb1c..c5360a122 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -204,9 +204,9 @@ try
}
lock.lock ();
- if (_film->length_with_loop()) {
+ if (_film->length()) {
_job->set_progress (
- float (_full_written + _fake_written + _repeat_written) / _film->time_to_video_frames (_film->length_with_loop())
+ float (_full_written + _fake_written + _repeat_written) / _film->time_to_video_frames (_film->length())
);
}