X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_content.cc;h=5a2bef1a08fa7835069a7bd3f3d951ede9d03bac;hb=1858190cff2f960f3d1f0a5cc02c69da86088f5b;hp=1c0bc5a60d045f758a17cf1948decf3dc1aa71c5;hpb=4a4725e41bf4070969223f9c40885063c50e61d0;p=dcpomatic.git diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 1c0bc5a60..5a2bef1a0 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -32,7 +32,9 @@ #include "raw_convert.h" #include #include +#include #include +#include #include "i18n.h" @@ -394,16 +396,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