summaryrefslogtreecommitdiff
path: root/src/wx/player_information.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/player_information.cc')
-rw-r--r--src/wx/player_information.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wx/player_information.cc b/src/wx/player_information.cc
index 5f480d5b4..9a569c00c 100644
--- a/src/wx/player_information.cc
+++ b/src/wx/player_information.cc
@@ -90,7 +90,13 @@ PlayerInformation::periodic_update ()
{
shared_ptr<FilmViewer> fv = _viewer.lock ();
if (fv) {
- checked_set (_dropped, wxString::Format(_("Dropped frames: %d"), fv->dropped()));
+ wxString s = wxString::Format(_("Dropped frames: %d"), fv->dropped() + fv->errored());
+ if (fv->errored() == 1) {
+ s += wxString::Format(_(" (%d error)"), fv->errored());
+ } else if (fv->errored() > 1) {
+ s += wxString::Format(_(" (%d errors)"), fv->errored());
+ }
+ checked_set (_dropped, s);
}
}