summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/simple_video_view.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index 09c172171..85d6b1036 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -170,7 +170,11 @@ SimpleVideoView::timer ()
_timer.Start (max(1, time_until_next_frame().get_value_or(0)), wxTIMER_ONE_SHOT);
if (_viewer->butler()) {
- _viewer->butler()->rethrow ();
+ try {
+ _viewer->butler()->rethrow();
+ } catch (dcp::FileError& e) {
+ error_dialog(_panel, _("Could not play content"), std_to_wx(e.what()));
+ }
}
}