mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +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);
|
||||
xmlIndentTreeOutput = indent;
|
||||
#else
|
||||
ret = xmlDocDump (out, cur);
|
||||
/* apparently this doesn't return anything in libxml1 */
|
||||
xmlDocDump (out, cur);
|
||||
ret = 1;
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue