Put two video views inside FilmViewer, one for main and one for sign language.
[dcpomatic.git] / src / wx / system_information_dialog.cc
index 26138900a602b4934103263ae342d0adfb7e32bd..8d037695afe6efa0ff856b3d5d3e6e22b1517d63 100644 (file)
@@ -45,7 +45,7 @@ using std::shared_ptr;
 SystemInformationDialog::SystemInformationDialog(wxWindow* parent, FilmViewer const& viewer)
        : TableDialog (parent, _("System information"), 2, 1, false)
 {
-       auto gl = std::dynamic_pointer_cast<const GLVideoView>(viewer.video_view());
+       auto gl = std::dynamic_pointer_cast<const GLVideoView>(viewer.video_view(VideoType::MAIN));
 
        if (!gl) {
                add (_("OpenGL version"), true);