Don't try opening error dialogues from the GL thread.
[dcpomatic.git] / src / wx / video_view.cc
index f8d44dc70137f321aec43a5610577032417ca1dc..ede0708c220a6eecb434df4bfd9a3a36978863f4 100644 (file)
@@ -59,13 +59,6 @@ VideoView::get_next_frame (bool non_blocking)
                _player_video.first->eyes() != EYES_BOTH
                );
 
-       /* XXX_b: this is called from the GL thread so it shouldn't be opening error dialogs */
-       try {
-               _viewer->butler()->rethrow ();
-       } catch (DecodeError& e) {
-               error_dialog (get(), e.what());
-       }
-
        return true;
 }