Add support for no-scale of the input video.
[dcpomatic.git] / src / tools / dcpomatic_create.cc
index 05121652aa7148312affcf820a189d978d9cf08c..3dfbd63b57a1c9db685f6eb48415e18b66078889 100644 (file)
@@ -155,7 +155,7 @@ main (int argc, char* argv[])
                        shared_ptr<Content> c = content_factory (film, argv[i]);
                        shared_ptr<VideoContent> vc = dynamic_pointer_cast<VideoContent> (c);
                        if (vc) {
-                               vc->set_ratio (content_ratio);
+                               vc->set_scale (VideoContentScale (content_ratio));
                        }
                        film->examine_and_add_content (c);
                }