X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_mxf_content.cc;h=325ea8e7214a460cc52e447c26e96e07cf5f4a56;hb=cebabb10b6055a168ac3aa1470751e17898a3b89;hp=d86fc4cf6e296ead657f49b98f9ab275a49f463c;hpb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;p=dcpomatic.git diff --git a/src/lib/video_mxf_content.cc b/src/lib/video_mxf_content.cc index d86fc4cf6..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 @@ -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& p) const { video->add_properties (p); } - -void -VideoMXFContent::set_default_colour_conversion () -{ - video->unset_colour_conversion (); -}