summaryrefslogtreecommitdiff
path: root/src/lib/video_mxf_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-06 10:58:39 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-20 18:25:09 +0100
commit0e5013e1a96af81e4b501ff0c3192c10a061a2c8 (patch)
tree49acd96a9e6c70919a6d2c40fc14688ac6319e1b /src/lib/video_mxf_content.cc
parent45fc375d656e99218ca8ec3281aa2605e148b521 (diff)
Remove all use of add_child() from xmlpp.
Diffstat (limited to 'src/lib/video_mxf_content.cc')
-rw-r--r--src/lib/video_mxf_content.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/video_mxf_content.cc b/src/lib/video_mxf_content.cc
index 9adca5a2d..546e1445b 100644
--- a/src/lib/video_mxf_content.cc
+++ b/src/lib/video_mxf_content.cc
@@ -121,11 +121,11 @@ VideoMXFContent::identifier () const
void
-VideoMXFContent::as_xml (xmlpp::Node* node, bool with_paths) const
+VideoMXFContent::as_xml(xmlpp::Element* element, bool with_paths) const
{
- node->add_child("Type")->add_child_text("VideoMXF");
- Content::as_xml (node, with_paths);
- video->as_xml (node);
+ cxml::add_text_child(element, "Type", "VideoMXF");
+ Content::as_xml(element, with_paths);
+ video->as_xml(element);
}