projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIXME: Remove all use of add_child() from xmlpp.
[dcpomatic.git]
/
src
/
lib
/
video_mxf_content.cc
diff --git
a/src/lib/video_mxf_content.cc
b/src/lib/video_mxf_content.cc
index 9adca5a2da33d40d91f5312f5ccb9918df006206..546e1445b2110a1191f436a09a25f69e2b03a698 100644
(file)
--- a/
src/lib/video_mxf_content.cc
+++ b/
src/lib/video_mxf_content.cc
@@
-121,11
+121,11
@@
VideoMXFContent::identifier () const
void
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
);
}
}