summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-06-08 10:35:05 +0100
committerCarl Hetherington <cth@carlh.net>2018-06-08 10:35:05 +0100
commit82e518498a853af33f2b53ebac08ec3094a96f8e (patch)
tree8c8d25d390f0bef5c284dfc2eabb85bbfa65642f /src/lib/ffmpeg_content.h
parent80908df324b330dc35d7e70b69ae5fce0dcfbab1 (diff)
Remove details video properties from non-video content XML.
Diffstat (limited to 'src/lib/ffmpeg_content.h')
-rw-r--r--src/lib/ffmpeg_content.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h
index d9020ac01..64f6f9ff8 100644
--- a/src/lib/ffmpeg_content.h
+++ b/src/lib/ffmpeg_content.h
@@ -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;
};