summaryrefslogtreecommitdiff
path: root/tools/gst-launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gst-launch.c')
-rw-r--r--tools/gst-launch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index 415d83058..698bacf07 100644
--- a/tools/gst-launch.c
+++ b/tools/gst-launch.c
@@ -141,7 +141,7 @@ main(int argc, char *argv[])
#ifndef GST_DISABLE_LOADSAVE
if (save_pipeline) {
- xmlSaveFile (savefile, gst_xml_write (pipeline));
+ gst_xml_write_file (GST_ELEMENT (pipeline), fopen (savefile, "w"));
}
#endif
if (run_pipeline) {