Store mtime in Content.
[dcpomatic.git] / src / lib / video_mxf_content.cc
index d86fc4cf6e296ead657f49b98f9ab275a49f463c..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
@@ -102,10 +103,10 @@ VideoMXFContent::identifier () const
 }
 
 void
-VideoMXFContent::as_xml (xmlpp::Node* node) const
+VideoMXFContent::as_xml (xmlpp::Node* node, bool with_paths) const
 {
        node->add_child("Type")->add_child_text ("VideoMXF");
-       Content::as_xml (node);
+       Content::as_xml (node, with_paths);
        video->as_xml (node);
 }
 
@@ -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 ();
-}