summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/udp/gstudpsrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index 950aa0d2..02da0a58 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -219,7 +219,8 @@ gst_udpsrc_get (GstPad *pad)
doc = xmlParseMemory(buf, ret);
caps = gst_caps_load_thyself(doc->xmlRootNode);
- gst_pad_try_set_caps (udpsrc->srcpad, caps);
+ /* foward the connect, we don't signal back the result here... */
+ gst_pad_proxy_connect (udpsrc->srcpad, caps);
#endif
g_free (buf);