diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-27 14:25:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-27 14:25:45 +0100 |
| commit | ee1ff372a27202a0244f48a04c955dbb48644573 (patch) | |
| tree | 9f337bcc31acfb124e74e091b5ac8bbb6d3de2a0 /src/lib | |
| parent | 3feacf8bbdd094b7ac9a705911486288e436cd4f (diff) | |
Clean up.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/video_content.cc | 6 | ||||
| -rw-r--r-- | src/lib/video_content.h | 2 |
2 files changed, 3 insertions, 5 deletions
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<ColourConversion> (); } - 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); |
