mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
parent
d1b3b19088
commit
1238a32bfd
1 changed files with 1 additions and 1 deletions
|
@ -982,7 +982,7 @@ gst_xml_helper_get_node_as_string (xmlNode * a_node, gchar ** content)
|
||||||
out_buf = xmlAllocOutputBuffer (NULL);
|
out_buf = xmlAllocOutputBuffer (NULL);
|
||||||
g_assert (out_buf != NULL);
|
g_assert (out_buf != NULL);
|
||||||
xmlNodeDumpOutput (out_buf, a_node->doc, a_node, 0, 0, txt_encoding);
|
xmlNodeDumpOutput (out_buf, a_node->doc, a_node, 0, 0, txt_encoding);
|
||||||
xmlOutputBufferFlush (out_buf);
|
(void) xmlOutputBufferFlush (out_buf);
|
||||||
#ifdef LIBXML2_NEW_BUFFER
|
#ifdef LIBXML2_NEW_BUFFER
|
||||||
if (xmlOutputBufferGetSize (out_buf) > 0) {
|
if (xmlOutputBufferGetSize (out_buf) > 0) {
|
||||||
*content =
|
*content =
|
||||||
|
|
Loading…
Reference in a new issue