From 8dd455ba867122056e2093e259a9a045aeeea451 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 17 Dec 2012 23:36:18 +0000 Subject: Various fixes to still-image mode. --- src/lib/video_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/video_decoder.cc') diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index c3be2a174..4c05d5fcd 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -94,7 +94,7 @@ VideoDecoder::set_subtitle_stream (shared_ptr s) void VideoDecoder::set_progress () const { - if (_job && _film->dcp_length()) { + if (_job && _film->length()) { _job->set_progress (float (_video_frame) / _film->length().get()); } } -- cgit v1.2.3