Fix setup of initial colour conversion for Video MXF content.
authorCarl Hetherington <cth@carlh.net>
Sat, 13 May 2017 11:35:56 +0000 (12:35 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 May 2017 11:35:56 +0000 (12:35 +0100)
src/lib/video_mxf_content.cc
src/lib/video_mxf_content.h

index 1f416312233f3efe21edae87ccfbc248abfa2d3a..325ea8e7214a460cc52e447c26e96e07cf5f4a56 100644 (file)
@@ -81,6 +81,7 @@ VideoMXFContent::examine (shared_ptr<Job> job)
        video.reset (new VideoContent (this));
        shared_ptr<VideoMXFExaminer> examiner (new VideoMXFExaminer (shared_from_this ()));
        video->take_from_examiner (examiner);
+       video->unset_colour_conversion ();
 }
 
 string
@@ -121,9 +122,3 @@ VideoMXFContent::add_properties (list<UserProperty>& p) const
 {
        video->add_properties (p);
 }
-
-void
-VideoMXFContent::set_default_colour_conversion ()
-{
-       video->unset_colour_conversion ();
-}
index 08946242cddc8272feae8aa060b0daf916915324..1fa428704d620084eaa0645aa118d8fed389bc74 100644 (file)
@@ -37,7 +37,6 @@ public:
        void as_xml (xmlpp::Node* node, bool with_paths) const;
        DCPTime full_length () const;
        void add_properties (std::list<UserProperty>& p) const;
-       void set_default_colour_conversion ();
 
        static bool valid_mxf (boost::filesystem::path path);
 };