Obey requests to change the video range of RGB content.
[dcpomatic.git] / src / lib / image_decoder.cc
index 15187b11b6aa27ef084e24ea759c27163603194f..7757cc4aac47d869697704765f76f68b43ddf744 100644 (file)
@@ -70,7 +70,7 @@ ImageDecoder::pass ()
                        */
                        _image.reset (new J2KImageProxy (path, _image_content->video->size(), pf));
                } else {
-                       _image.reset (new FFmpegImageProxy (path));
+                       _image.reset (new FFmpegImageProxy(path, _image_content->video->range()));
                }
        }