summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-14 01:05:18 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-14 01:05:18 +0100
commit7b9c6d3afa80e3c299e30aa11d47253bbc5a8fa8 (patch)
tree280398a122f5c07f5f437428f6ac98a4acc62020 /src/wx/film_viewer.cc
parent795de4ac5c56c722556cd4c914a11eddcb323343 (diff)
wip: Error when failing to read MXF frame.bad-mxf
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index fb02f0a0f..2fda1c93e 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -805,7 +805,7 @@ FilmViewer::dropped () const
int
FilmViewer::errored () const
{
- return _video_view->errored ();
+ return _video_view->errored() + (_butler ? _butler->errors().size() : 0);
}