From f2d5cae8daade402e9d74a829d2b87283167aaa7 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:18 +0000 Subject: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. --- gst/udp/gstudpsink.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst/udp/gstudpsink.c') diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c index 4953061d..cae46e18 100644 --- a/gst/udp/gstudpsink.c +++ b/gst/udp/gstudpsink.c @@ -75,7 +75,7 @@ static void gst_udpsink_init (GstUDPSink *udpsink); static void gst_udpsink_set_clock (GstElement *element, GstClock *clock); -static void gst_udpsink_chain (GstPad *pad,GstBuffer *buf); +static void gst_udpsink_chain (GstPad *pad,GstData *_data); static GstElementStateReturn gst_udpsink_change_state (GstElement *element); static void gst_udpsink_set_property (GObject *object, guint prop_id, @@ -257,8 +257,9 @@ gst_udpsink_init (GstUDPSink *udpsink) } static void -gst_udpsink_chain (GstPad *pad, GstBuffer *buf) +gst_udpsink_chain (GstPad *pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstUDPSink *udpsink; guint tolen, i; -- cgit