projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove all use of add_child() from xmlpp.
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_image_proxy.cc
diff --git
a/src/lib/ffmpeg_image_proxy.cc
b/src/lib/ffmpeg_image_proxy.cc
index 2fcd486dfafc72daa641f0a7c50e6c891c8c9d01..0ee41deabd1dd6af427a9a2c6c787fae35eec2b7 100644
(file)
--- a/
src/lib/ffmpeg_image_proxy.cc
+++ b/
src/lib/ffmpeg_image_proxy.cc
@@
-234,9
+234,9
@@
FFmpegImageProxy::image (Image::Alignment alignment, optional<dcp::Size>) const
void
-FFmpegImageProxy::add_metadata
(xmlpp::Node* node
) const
+FFmpegImageProxy::add_metadata
(xmlpp::Element* element
) const
{
-
node->add_child("Type")->add_child_text (
N_("FFmpeg"));
+
cxml::add_text_child(element, "Type",
N_("FFmpeg"));
}
void