Don't scale chroma subsampled images to sizes that don't align with the subsampling...
[dcpomatic.git] / src / lib / video_content.cc
index 0ef1021161d7a69004494d733da1b83bc02ca046..9ff35ffdf891c783b9efa2fffc6e332aea04e3cf 100644 (file)
@@ -655,7 +655,7 @@ VideoContent::scaled_size (dcp::Size film_container)
                _legacy_ratio = boost::optional<float>();
        }
 
-       return auto_size;
+       return _pixel_quanta.round (auto_size);
 }