Fix caps nego
authorWim Taymans <wim.taymans@gmail.com>
Wed, 18 Dec 2002 23:07:09 +0000 (23:07 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 18 Dec 2002 23:07:09 +0000 (23:07 +0000)
Original commit message from CVS:
Fix caps nego

gst/udp/gstudpsrc.c

index 950aa0d..02da0a5 100644 (file)
@@ -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);