Make sure we use limited ("video") range data when exporting.
[dcpomatic.git] / src / lib / ffmpeg_file_encoder.cc
index 511730185716ddba8368b828f76228f775d5eeba..05b6b7fe51aaee8923b5deda1124b3e4d9a994d6 100644 (file)
@@ -420,8 +420,10 @@ DCPOMATIC_ENABLE_WARNINGS
 void
 FFmpegFileEncoder::video (shared_ptr<PlayerVideo> video, DCPTime time)
 {
+       /* All our output formats are video range at the moment */
        shared_ptr<Image> image = video->image (
                bind (&PlayerVideo::force, _1, _pixel_format),
+               VIDEO_RANGE_VIDEO,
                true,
                false
                );