Add hint when making 4K/3D DCPs (#1951).
authorCarl Hetherington <cth@carlh.net>
Mon, 5 Apr 2021 21:01:28 +0000 (23:01 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 5 Apr 2021 21:01:28 +0000 (23:01 +0200)
src/lib/hints.cc
src/lib/hints.h

index ad95ff9808430c1b605835f9fb061463f9386eb0..21d771634cd2fb523bd268200cb5893122fd02e7 100644 (file)
@@ -206,6 +206,16 @@ Hints::check_frame_rate ()
 }
 
 
+void
+Hints::check_4k_3d ()
+{
+       auto f = film();
+       if (f->resolution() == Resolution::FOUR_K && f->three_d()) {
+               hint (_("4K 3D is only supported by a very limited number of projectors.  Unless you know that you will play this DCP back on a capable projector, it is advisable to set the DCP to be 2K in the \"DCP→Video\" tab."));
+       }
+}
+
+
 void
 Hints::check_speed_up ()
 {
@@ -377,6 +387,7 @@ Hints::thread ()
        check_unusual_container ();
        check_high_j2k_bandwidth ();
        check_frame_rate ();
+       check_4k_3d ();
        check_speed_up ();
        check_vob ();
        check_3d_in_2d ();
index fddac83b951faaf19d881cedc744e5837a364f39..5fc2e245ae6670f00cd25578230c48c2bbefb0f1 100644 (file)
@@ -67,6 +67,7 @@ private:
        void check_unusual_container ();
        void check_high_j2k_bandwidth ();
        void check_frame_rate ();
+       void check_4k_3d ();
        void check_speed_up ();
        void check_vob ();
        void check_3d_in_2d ();