mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
fix for libxml1 compatibility
Original commit message from CVS: fix for libxml1 compatibility
This commit is contained in:
parent
d262bea863
commit
58ce781c21
1 changed files with 3 additions and 1 deletions
|
@ -179,7 +179,9 @@ gst_xml_write_file (GstElement *element, FILE *out)
|
||||||
ret = xmlSaveFormatFileTo(buf, cur, NULL, 1);
|
ret = xmlSaveFormatFileTo(buf, cur, NULL, 1);
|
||||||
xmlIndentTreeOutput = indent;
|
xmlIndentTreeOutput = indent;
|
||||||
#else
|
#else
|
||||||
ret = xmlDocDump (out, cur);
|
/* apparently this doesn't return anything in libxml1 */
|
||||||
|
xmlDocDump (out, cur);
|
||||||
|
ret = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue