summaryrefslogtreecommitdiff
path: root/src/lib/transcode_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-19 11:41:47 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-19 11:41:47 +0100
commit91273da19c689e44f3baa368d4b4efbe75cd8fe5 (patch)
treeb38e643c9de71b16168128a7f2f00ccb75009605 /src/lib/transcode_job.cc
parentd6b125826e28c0633137d667371defc33f95f648 (diff)
parentba17803f7e33be2bea1363b5a7115e4713dd5997 (diff)
Merge branch '1.0' of /home/carl/git/dvdomatic into 1.0
Diffstat (limited to 'src/lib/transcode_job.cc')
-rw-r--r--src/lib/transcode_job.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/transcode_job.cc b/src/lib/transcode_job.cc
index 6d5edd7c0..f0faf7c63 100644
--- a/src/lib/transcode_job.cc
+++ b/src/lib/transcode_job.cc
@@ -111,6 +111,6 @@ TranscodeJob::remaining_time () const
}
/* Compute approximate proposed length here, as it's only here that we need it */
- OutputVideoFrame const left = _film->time_to_video_frames (_film->length ()) - _transcoder->video_frames_out();
+ OutputVideoFrame const left = _film->time_to_video_frames (_film->length_with_loop ()) - _transcoder->video_frames_out();
return left / fps;
}