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 151b578cd..ff278d8a9 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -534,7 +534,11 @@ FilmViewer::config_changed (Config::Property p)
if (_audio.getDeviceInfo(st).name == Config::instance()->sound_output().get()) {
break;
}
+#ifdef DCPOMATIC_USE_RTERROR
+ } catch (RtError&) {
+#else
} catch (RtAudioError&) {
+#endif
/* Something went wrong with that device so we don't want to use it anyway */
}
++st;