X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.cc;fp=src%2Fwx%2Ffilm_viewer.cc;h=25665325dd34933d3d56f46ba6a94b9a156164fa;hp=6d050157c40f0deef027b8ca2fcb902ef4aebef3;hb=c5f67166138c3849cc49f1223742343ce4b11b9f;hpb=c3cccfcf0f3942a55f1c0df5ba623fcfa360533e diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 6d050157c..25665325d 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -234,7 +234,11 @@ FilmViewer::get () _player_video.first->eyes() != EYES_BOTH ); - _butler->rethrow (); + try { + _butler->rethrow (); + } catch (DecodeError& e) { + error_dialog (_video_view->get(), e.what()); + } display_player_video (); }