Fix caps nego

Original commit message from CVS:
Fix caps nego
This commit is contained in:
Wim Taymans 2002-12-18 23:07:09 +00:00
parent eb84f3b7ad
commit bb9513547c

View file

@ -219,7 +219,8 @@ gst_udpsrc_get (GstPad *pad)
doc = xmlParseMemory(buf, ret); doc = xmlParseMemory(buf, ret);
caps = gst_caps_load_thyself(doc->xmlRootNode); 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 #endif
g_free (buf); g_free (buf);