summaryrefslogtreecommitdiff
path: root/tests/old/examples/autoplug/autoplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/old/examples/autoplug/autoplug.c')
-rw-r--r--tests/old/examples/autoplug/autoplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/old/examples/autoplug/autoplug.c b/tests/old/examples/autoplug/autoplug.c
index 4fef339b4..1f2c85c79 100644
--- a/tests/old/examples/autoplug/autoplug.c
+++ b/tests/old/examples/autoplug/autoplug.c
@@ -95,7 +95,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline)
gst_element_set_state (pipeline, GST_STATE_PLAYING);
#ifndef GST_DISABLE_LOADSAVE
- xmlSaveFile("xmlTest.gst", gst_xml_write (GST_ELEMENT (pipeline)));
+ gst_xml_write_file (GST_ELEMENT (pipeline), fopen ("xmlTest.gst", "w"));
#endif
}