summaryrefslogtreecommitdiff
path: root/tests/old/examples/helloworld2/helloworld2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/old/examples/helloworld2/helloworld2.c')
-rw-r--r--tests/old/examples/helloworld2/helloworld2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/old/examples/helloworld2/helloworld2.c b/tests/old/examples/helloworld2/helloworld2.c
index 8b70518ed..19e0b1e44 100644
--- a/tests/old/examples/helloworld2/helloworld2.c
+++ b/tests/old/examples/helloworld2/helloworld2.c
@@ -11,7 +11,7 @@ void eos(GstElement *element)
int main(int argc,char *argv[])
{
- GstElement *disksrc, *audiosink;
+ GstElement *disksrc, *osssink;
GstElement *pipeline, *thread;
gst_init(&argc,&argv);
@@ -37,13 +37,13 @@ int main(int argc,char *argv[])
GTK_SIGNAL_FUNC(eos),NULL);
/* 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);
/* add objects to the main pipeline */
/*
gst_pipeline_add_src(GST_PIPELINE(pipeline), disksrc);
- gst_pipeline_add_sink(GST_PIPELINE(pipeline), audiosink);
+ gst_pipeline_add_sink(GST_PIPELINE(pipeline), osssink);
if (!gst_pipeline_autoplug(GST_PIPELINE(pipeline))) {
g_print("unable to handle stream\n");