summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-05-13 12:35:56 +0100
committerCarl Hetherington <cth@carlh.net>2017-05-13 12:35:56 +0100
commit4079beaa74c67e81ae8e40bd715dcc68cdbdf676 (patch)
tree70db90b38c262fc539fc3b14cc78e3879a9ecce6 /src
parent8bdc1edabc107c3ba0ec6c5f0b8f93ac00e4c631 (diff)
Fix setup of initial colour conversion for Video MXF content.
Diffstat (limited to 'src')
-rw-r--r--src/lib/video_mxf_content.cc7
-rw-r--r--src/lib/video_mxf_content.h1
2 files changed, 1 insertions, 7 deletions
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> 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 ();
-}
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<UserProperty>& p) const;
- void set_default_colour_conversion ();
static bool valid_mxf (boost::filesystem::path path);
};