Fix 3D crash.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 Aug 2018 11:00:29 +0000 (12:00 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 Aug 2018 11:00:29 +0000 (12:00 +0100)
src/wx/film_viewer.cc

index a5e1577fee1ac70679c5659edbec29f1ead52156..76e269975fb0eea467589e0a4a9ed775c1983c73 100644 (file)
@@ -296,6 +296,7 @@ FilmViewer::get ()
        do {
                _player_video = _butler->get_video ();
        } while (
+               _player_video.first &&
                _film->three_d() &&
                ((_eye->GetSelection() == 0 && _player_video.first->eyes() == EYES_RIGHT) || (_eye->GetSelection() == 1 && _player_video.first->eyes() == EYES_LEFT))
                );