diff options
Diffstat (limited to 'ext/esd/esdsink.c')
-rw-r--r-- | ext/esd/esdsink.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 2e114786..711c43fc 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -93,7 +93,7 @@ static GstPadLinkReturn gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps); static GstClockTime gst_esdsink_get_time (GstClock *clock, gpointer data); static GstClock * gst_esdsink_get_clock (GstElement *element); static void gst_esdsink_set_clock (GstElement *element, GstClock *clock); -static void gst_esdsink_chain (GstPad *pad, GstBuffer *buf); +static void gst_esdsink_chain (GstPad *pad, GstData *_data); static void gst_esdsink_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); @@ -259,8 +259,9 @@ gst_esdsink_set_clock (GstElement *element, GstClock *clock) } static void -gst_esdsink_chain (GstPad *pad, GstBuffer *buf) +gst_esdsink_chain (GstPad *pad, GstData *_data) { + GstBuffer *buf = GST_BUFFER (_data); GstEsdsink *esdsink; esdsink = GST_ESDSINK (gst_pad_get_parent (pad)); |