+
+
+void
+ImageContent::set_default_colour_conversion ()
+{
+ for (auto i: paths()) {
+ if (valid_j2k_file (i)) {
+ /* We default to no colour conversion if we have JPEG2000 files */
+ video->unset_colour_conversion ();
+ return;
+ }
+ }
+
+ bool const s = still ();
+
+ boost::mutex::scoped_lock lm (_mutex);
+
+ if (s) {
+ video->set_colour_conversion (PresetColourConversion::from_id ("srgb").conversion);
+ } else {
+ video->set_colour_conversion (PresetColourConversion::from_id ("rec709").conversion);
+ }
+}
+
+
+void
+ImageContent::add_properties (shared_ptr<const Film> film, list<UserProperty>& p) const
+{
+ Content::add_properties (film, p);
+ video->add_properties (p);
+}