summaryrefslogtreecommitdiffstats
path: root/gst/speed/demo-mp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/speed/demo-mp3.c')
-rw-r--r--gst/speed/demo-mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/speed/demo-mp3.c b/gst/speed/demo-mp3.c
index d3eb3b13..6f10f9de 100644
--- a/gst/speed/demo-mp3.c
+++ b/gst/speed/demo-mp3.c
@@ -49,7 +49,7 @@ int main(int argc, char **argv)
pipeline = gst_pipeline_new("app");
gst_bin_add_many (GST_BIN(pipeline), filesrc, mad, stereo2mono, speed, osssink, NULL);
- gst_element_connect_many (filesrc, mad, stereo2mono, speed, osssink, NULL);
+ gst_element_link_many (filesrc, mad, stereo2mono, speed, osssink, NULL);
g_object_set(G_OBJECT(filesrc), "location", argv[1], NULL);
gst_element_set_state(pipeline, GST_STATE_PLAYING);