summaryrefslogtreecommitdiff
path: root/gst/udp/gstudpsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp/gstudpsrc.c')
-rw-r--r--gst/udp/gstudpsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index f8fa1eb2f..ce6362ec9 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -203,7 +203,7 @@ gst_udpsrc_get (GstPad *pad)
int fdread;
struct sockaddr addr;
xmlDocPtr doc;
- GstCaps2 *caps;
+ GstCaps *caps;
buf = g_malloc (1024*10);
@@ -233,7 +233,7 @@ gst_udpsrc_get (GstPad *pad)
buf[ret] = '\0';
doc = xmlParseMemory(buf, ret);
- caps = gst_caps2_load_thyself(doc->xmlRootNode);
+ caps = gst_caps_load_thyself(doc->xmlRootNode);
/* foward the connect, we don't signal back the result here... */
gst_pad_proxy_link (udpsrc->srcpad, caps);