diff options
Diffstat (limited to 'gst/speed/demo-mp3.c')
-rw-r--r-- | gst/speed/demo-mp3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/speed/demo-mp3.c b/gst/speed/demo-mp3.c index d4e19489..586ac9f1 100644 --- a/gst/speed/demo-mp3.c +++ b/gst/speed/demo-mp3.c @@ -52,10 +52,10 @@ int main(int argc, char **argv) gst_bin_add(GST_BIN(pipeline), stereo2mono); gst_bin_add(GST_BIN(pipeline), speed); gst_bin_add(GST_BIN(pipeline), osssink); - gst_element_connect(filesrc, "src", mad, "sink"); - gst_element_connect(mad, "src", stereo2mono, "sink"); - gst_element_connect(stereo2mono, "src", speed, "sink"); - gst_element_connect(speed, "src", osssink, "sink"); + gst_element_connect(filesrc, mad); + gst_element_connect(mad, stereo2mono); + gst_element_connect(stereo2mono, speed); + gst_element_connect(speed, osssink); gtk_object_set(GTK_OBJECT(filesrc), "location", argv[1], NULL); gst_element_set_state(pipeline, GST_STATE_PLAYING); |