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.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/properties_dialog.cc b/src/wx/properties_dialog.cc
index 0ffbd06cb..61e1f34f0 100644
--- a/src/wx/properties_dialog.cc
+++ b/src/wx/properties_dialog.cc
@@ -92,7 +92,8 @@ PropertiesDialog::frames_already_encoded () const
}
if (_film->dcp_length()) {
- u << " (" << (_film->encoded_frames() * 100 / _film->dcp_length().get()) << "%)";
+ /* XXX: encoded_frames() should check which frames have been encoded */
+ u << " (" << ((_film->encoded_frames() - _film->dcp_trim_start()) * 100 / _film->dcp_length().get()) << "%)";
}
return u.str ();
}