diff options
Diffstat (limited to 'src/wx/properties_dialog.cc')
| -rw-r--r-- | src/wx/properties_dialog.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/properties_dialog.cc b/src/wx/properties_dialog.cc index 0a997bc41..e6c6c9f81 100644 --- a/src/wx/properties_dialog.cc +++ b/src/wx/properties_dialog.cc @@ -76,7 +76,12 @@ string PropertiesDialog::frames_already_encoded () const { stringstream u; - u << _film->encoded_frames(); + try { + u << _film->encoded_frames (); + } catch (thread_interrupted &) { + return ""; + } + if (_film->length()) { u << " (" << (_film->encoded_frames() * 100 / _film->length()) << "%)"; } |
