swaroop: take ownership of config file if we're run as root.
[dcpomatic.git] / src / lib / ffmpeg_content.h
index d9020ac018dcce2ab2bcda5df638d74d1cc9653f..64f6f9ff8632a275cf05f2233b2faf344a2aadf6 100644 (file)
@@ -105,10 +105,10 @@ private:
        /** Video filters that should be used when generating DCPs */
        std::vector<Filter const *> _filters;
 
-       AVColorRange _color_range;
-       AVColorPrimaries _color_primaries;
-       AVColorTransferCharacteristic _color_trc;
-       AVColorSpace _colorspace;
+       boost::optional<AVColorRange> _color_range;
+       boost::optional<AVColorPrimaries> _color_primaries;
+       boost::optional<AVColorTransferCharacteristic> _color_trc;
+       boost::optional<AVColorSpace> _colorspace;
        boost::optional<int> _bits_per_pixel;
 };