diff options
m--------- | common | 0 | ||||
-rw-r--r-- | gst/playondemand/demo-mp3.c | 6 | ||||
-rw-r--r-- | gst/speed/demo-mp3.c | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/common b/common -Subproject 6148068f2318e85d8e66df485342b630d8fb49a +Subproject d8fa5431e3f6f1b9c8be36bad079719a6c4b529 diff --git a/gst/playondemand/demo-mp3.c b/gst/playondemand/demo-mp3.c index f2cab728..af5df0a4 100644 --- a/gst/playondemand/demo-mp3.c +++ b/gst/playondemand/demo-mp3.c @@ -42,9 +42,9 @@ int main(int argc, char **argv) gst_bin_add(GST_BIN(pipeline), pod); gst_bin_add(GST_BIN(pipeline), osssink); - gst_element_connect(src, "src", mad, "sink"); - gst_element_connect(pod, "src", osssink, "sink"); - gst_element_connect(mad, "src", pod, "sink"); + gst_element_connect(src, mad); + gst_element_connect(pod, osssink); + gst_element_connect(mad, pod); gst_element_set_state(pipeline, GST_STATE_PLAYING); 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); |