Fix player with high-frame-rate DCPs.
authorCarl Hetherington <cth@carlh.net>
Thu, 27 Oct 2022 08:41:45 +0000 (10:41 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 Oct 2022 08:41:45 +0000 (10:41 +0200)
src/tools/dcpomatic_player.cc

index ace7fd7933ee66479c47ab9c62a3716b06ab0b1c..096da00047d24538388a5237d07b4543aa85682e 100644 (file)
@@ -388,6 +388,9 @@ public:
                                return;
                        }
                        Config::instance()->add_to_player_history (dir);
+                       if (dcp->video_frame_rate()) {
+                               _film->set_video_frame_rate(dcp->video_frame_rate().get(), true);
+                       }
                } catch (ProjectFolderError &) {
                        error_dialog (
                                this,