diff options
Diffstat (limited to 'gst/playondemand/demo-mp3.c')
-rw-r--r-- | gst/playondemand/demo-mp3.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |