Add a hint about non-flat/scope containers after hearing from
authorCarl Hetherington <cth@carlh.net>
Mon, 12 Sep 2016 18:52:34 +0000 (19:52 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 12 Sep 2016 18:52:34 +0000 (19:52 +0100)
Gerhard Gruber that one cinema could not use a DCP in a 4:3
container.

src/lib/hints.cc

index d196b7ddb088c4509cd93575da3bda4e8bd69b7b..b410252bd14ca5417a1a0a9405f4780cf5044a39 100644 (file)
@@ -85,14 +85,20 @@ get_hints (shared_ptr<const Film> film)
                }
        }
 
-       if (scope && !flat_or_narrower && film->container()->id() == "185") {
+       string const film_container = film->container()->id();
+
+       if (scope && !flat_or_narrower && film_container == "185") {
                hints.push_back (_("All of your content is in Scope (2.39:1) but your DCP's container is Flat (1.85:1).  This will letter-box your content inside a Flat (1.85:1) frame.  You may prefer to set your DCP's container to Scope (2.39:1) in the \"DCP\" tab."));
        }
 
-       if (!scope && flat_or_narrower && film->container()->id() == "239") {
+       if (!scope && flat_or_narrower && film_container == "239") {
                hints.push_back (_("All of your content is at 1.85:1 or narrower but your DCP's container is Scope (2.39:1).  This will pillar-box your content inside a Flat (1.85:1) frame.  You may prefer to set your DCP's container to Flat (1.85:1) in the \"DCP\" tab."));
        }
 
+       if (film_container != "185" && film_container != "239" && film_container != "full-frame") {
+               hints.push_back (_("Your DCP uses an unusual container ratio.  This may cause problems on some projectors.  If possible, use Flat or Scope for the DCP container ratio"));
+       }
+
        if (film->video_frame_rate() != 24 && film->video_frame_rate() != 48) {
                hints.push_back (String::compose (_("Your DCP frame rate (%1 fps) may cause problems in a few (mostly older) projectors.  Use 24 or 48 frames per second to be on the safe side."), film->video_frame_rate()));
        }