summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-04-10 17:41:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-04-10 17:41:33 +0000
commit8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7 (patch)
tree23a0e369496d10db265ceb353fa404855f5f9ad5
parent5f5faa2f984a857d10ebe9b6c09f8d6fdbfe55d6 (diff)
downloadgst-plugins-bad-8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7.tar.gz
gst-plugins-bad-8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7.tar.bz2
gst-plugins-bad-8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7.zip
various Wall fixes
Original commit message from CVS: various Wall fixes
m---------common0
-rw-r--r--gst/playondemand/demo-mp3.c6
-rw-r--r--gst/speed/demo-mp3.c8
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);