Various fixes to still-image mode.
[dcpomatic.git] / src / lib / video_decoder.cc
index c3be2a1743eb45b10bc2b65ceda60c5326c70d55..4c05d5fcdf335e931414e72e569125b4ef535fe2 100644 (file)
@@ -94,7 +94,7 @@ VideoDecoder::set_subtitle_stream (shared_ptr<SubtitleStream> s)
 void
 VideoDecoder::set_progress () const
 {
-       if (_job && _film->dcp_length()) {
+       if (_job && _film->length()) {
                _job->set_progress (float (_video_frame) / _film->length().get());
        }
 }