From 4079beaa74c67e81ae8e40bd715dcc68cdbdf676 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 May 2017 12:35:56 +0100 Subject: Fix setup of initial colour conversion for Video MXF content. --- src/lib/video_mxf_content.cc | 7 +------ src/lib/video_mxf_content.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src') diff --git a/src/lib/video_mxf_content.cc b/src/lib/video_mxf_content.cc index 1f4163122..325ea8e72 100644 --- a/src/lib/video_mxf_content.cc +++ b/src/lib/video_mxf_content.cc @@ -81,6 +81,7 @@ VideoMXFContent::examine (shared_ptr job) video.reset (new VideoContent (this)); shared_ptr examiner (new VideoMXFExaminer (shared_from_this ())); video->take_from_examiner (examiner); + video->unset_colour_conversion (); } string @@ -121,9 +122,3 @@ VideoMXFContent::add_properties (list& p) const { video->add_properties (p); } - -void -VideoMXFContent::set_default_colour_conversion () -{ - video->unset_colour_conversion (); -} diff --git a/src/lib/video_mxf_content.h b/src/lib/video_mxf_content.h index 08946242c..1fa428704 100644 --- a/src/lib/video_mxf_content.h +++ b/src/lib/video_mxf_content.h @@ -37,7 +37,6 @@ public: void as_xml (xmlpp::Node* node, bool with_paths) const; DCPTime full_length () const; void add_properties (std::list& p) const; - void set_default_colour_conversion (); static bool valid_mxf (boost::filesystem::path path); }; -- cgit v1.2.3