Clean up.
authorCarl Hetherington <cth@carlh.net>
Thu, 27 Aug 2015 13:25:45 +0000 (14:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 27 Aug 2015 13:25:45 +0000 (14:25 +0100)
src/lib/video_content.cc
src/lib/video_content.h

index fa039380a4da3b474e5ac9792285c0e514172f25..a0f1da9aae5ac88c56f680fda4626648281d37f9 100644 (file)
@@ -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<ColourConversion> ();
        }
 
-       if (signal) {
-               signal_changed (VideoContentProperty::COLOUR_CONVERSION);
-       }
+       signal_changed (VideoContentProperty::COLOUR_CONVERSION);
 }
 
 void
index fdd27498514e5cc95af219b059db0c6b812c63d6..f7689763ff363216486ae6d567a2174bba64614d 100644 (file)
@@ -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);