From bb9513547c3e92104abf0a4b96b51f92a7380af0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 18 Dec 2002 23:07:09 +0000 Subject: [PATCH] Fix caps nego Original commit message from CVS: Fix caps nego --- gst/udp/gstudpsrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index 950aa0d..02da0a5 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); -- 2.7.4