summaryrefslogtreecommitdiff
path: root/src/wx/properties_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/properties_dialog.cc')
-rw-r--r--src/wx/properties_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/properties_dialog.cc b/src/wx/properties_dialog.cc
index c34922ec4..0cf75cf51 100644
--- a/src/wx/properties_dialog.cc
+++ b/src/wx/properties_dialog.cc
@@ -91,9 +91,9 @@ PropertiesDialog::frames_already_encoded () const
return "";
}
- if (_film->dcp_length()) {
+ if (_film->length()) {
/* XXX: encoded_frames() should check which frames have been encoded */
- u << " (" << ((_film->encoded_frames() - _film->trim_start()) * 100 / _film->dcp_length().get()) << "%)";
+ u << " (" << (_film->encoded_frames() * 100 / _film->length().get()) << "%)";
}
return u.str ();
}