summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-09 10:42:18 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-09 10:42:18 +0100
commit13878a9ff227d66729f185a5bac5985f14d6cac7 (patch)
tree2290360503d91e17df0ff6dc6670829aa0b5a0fa /src/lib/ffmpeg_content.h
parentbde021ea72b374c3f729f499acb614d505331574 (diff)
Make BitsPerPixel tag optional; fix some confusions with colour range reporting in properties.
Diffstat (limited to 'src/lib/ffmpeg_content.h')
-rw-r--r--src/lib/ffmpeg_content.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h
index b2a492e68..09f8ed558 100644
--- a/src/lib/ffmpeg_content.h
+++ b/src/lib/ffmpeg_content.h
@@ -122,7 +122,7 @@ private:
AVColorPrimaries _color_primaries;
AVColorTransferCharacteristic _color_trc;
AVColorSpace _colorspace;
- int _bits_per_pixel;
+ boost::optional<int> _bits_per_pixel;
};
#endif