summaryrefslogtreecommitdiff
path: root/tests/old/examples/xml/createxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/old/examples/xml/createxml.c')
-rw-r--r--tests/old/examples/xml/createxml.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/old/examples/xml/createxml.c b/tests/old/examples/xml/createxml.c
index 154f943b9..ce8b39549 100644
--- a/tests/old/examples/xml/createxml.c
+++ b/tests/old/examples/xml/createxml.c
@@ -15,7 +15,7 @@ object_saved (GstObject *object, xmlNodePtr parent, gpointer data)
int main(int argc,char *argv[])
{
- GstElement *disksrc, *audiosink, *queue, *queue2, *parse, *decode;
+ GstElement *disksrc, *osssink, *queue, *queue2, *parse, *decode;
GstElement *bin;
GstElement *thread, *thread2;
@@ -52,8 +52,8 @@ int main(int argc,char *argv[])
queue2 = gst_elementfactory_make("queue", "queue2");
/* and an audio sink */
- audiosink = gst_elementfactory_make("audiosink", "play_audio");
- g_assert(audiosink != NULL);
+ osssink = gst_elementfactory_make("osssink", "play_audio");
+ g_assert(osssink != NULL);
parse = gst_elementfactory_make("mp3parse", "parse");
decode = gst_elementfactory_make("mpg123", "decode");
@@ -66,7 +66,7 @@ int main(int argc,char *argv[])
gst_bin_add(GST_BIN(thread), decode);
gst_bin_add(GST_BIN(thread), queue2);
- gst_bin_add(GST_BIN(thread2), audiosink);
+ gst_bin_add(GST_BIN(thread2), osssink);
gst_pad_connect(gst_element_get_pad(disksrc,"src"),
gst_element_get_pad(queue,"sink"));
@@ -79,7 +79,7 @@ int main(int argc,char *argv[])
gst_element_get_pad(queue2,"sink"));
gst_pad_connect(gst_element_get_pad(queue2,"src"),
- gst_element_get_pad(audiosink,"sink"));
+ gst_element_get_pad(osssink,"sink"));
gst_bin_add(GST_BIN(bin), thread);
gst_bin_add(GST_BIN(bin), thread2);