Bump libdcp to a version with UTCOffset.
[dcpomatic.git] / src / tools / dcpomatic_player.cc
index ace7fd7933ee66479c47ab9c62a3716b06ab0b1c..7a2ae67f4bec8ab1b5e45bf4adb4ab4b6cd1c12d 100644 (file)
@@ -36,6 +36,7 @@
 #include "wx/wx_util.h"
 #include "lib/compose.hpp"
 #include "lib/config.h"
+#include "lib/constants.h"
 #include "lib/cross.h"
 #include "lib/dcp_content.h"
 #include "lib/dcp_examiner.h"
@@ -59,7 +60,6 @@
 #include "lib/server.h"
 #include "lib/text_content.h"
 #include "lib/update_checker.h"
-#include "lib/util.h"
 #include "lib/verify_dcp_job.h"
 #include "lib/video_content.h"
 #include <dcp/cpl.h>
@@ -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,