summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 37f999632..a0cc25ab9 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -258,6 +258,8 @@ FilmViewer::refresh_panel ()
void
FilmViewer::get ()
{
+ DCPOMATIC_ASSERT (_butler);
+
pair<shared_ptr<PlayerVideo>, DCPTime> video;
do {
video = _butler->get_video ();
@@ -266,6 +268,8 @@ FilmViewer::get ()
((_left_eye->GetValue() && video.first->eyes() == EYES_RIGHT) || (_right_eye->GetValue() && video.first->eyes() == EYES_LEFT))
);
+ _butler->rethrow ();
+
if (!video.first) {
_frame.reset ();
refresh_panel ();