X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fvideo_content.h;h=3c8e5fefd5a587d7d57ef8f885031197f461e977;hp=e88fb022720d0c91e13d875b36ff6589c1eec0ce;hb=b6c780d3107557d452c6612d715d01e2be52dbda;hpb=e725a6b4bce2a05275ee611965c62d6803f3bf7c diff --git a/src/lib/video_content.h b/src/lib/video_content.h index e88fb0227..3c8e5fefd 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -89,7 +89,9 @@ public: void set_bottom_crop (int); void set_scale (VideoContentScale); + void unset_colour_conversion (); void set_colour_conversion (ColourConversion); + void set_default_colour_conversion (); void set_fade_in (ContentTime); void set_fade_out (ContentTime); @@ -130,7 +132,7 @@ public: return _scale; } - ColourConversion colour_conversion () const { + boost::optional colour_conversion () const { boost::mutex::scoped_lock lm (_mutex); return _colour_conversion; } @@ -173,7 +175,7 @@ private: VideoFrameType _video_frame_type; Crop _crop; VideoContentScale _scale; - ColourConversion _colour_conversion; + boost::optional _colour_conversion; ContentTime _fade_in; ContentTime _fade_out; };