From: Carl Hetherington Date: Thu, 27 Aug 2015 13:25:45 +0000 (+0100) Subject: Clean up. X-Git-Tag: v2.1.47~9 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ee1ff372a27202a0244f48a04c955dbb48644573 Clean up. --- diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index fa039380a..a0f1da9aa 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -395,16 +395,14 @@ VideoContent::video_size_after_3d_split () const } void -VideoContent::unset_colour_conversion (bool signal) +VideoContent::unset_colour_conversion () { { boost::mutex::scoped_lock lm (_mutex); _colour_conversion = boost::optional (); } - if (signal) { - signal_changed (VideoContentProperty::COLOUR_CONVERSION); - } + signal_changed (VideoContentProperty::COLOUR_CONVERSION); } void diff --git a/src/lib/video_content.h b/src/lib/video_content.h index fdd274985..f7689763f 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -88,7 +88,7 @@ public: void set_bottom_crop (int); void set_scale (VideoContentScale); - void unset_colour_conversion (bool signal = true); + void unset_colour_conversion (); void set_colour_conversion (ColourConversion); void set_fade_in (Frame);