diff options
Diffstat (limited to 'ext/esd')
-rw-r--r-- | ext/esd/esdmon.c | 6 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index ae8d4fd4..de7e1148 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -92,7 +92,7 @@ static void gst_esdmon_close_audio (GstEsdmon *src); static GstElementStateReturn gst_esdmon_change_state (GstElement *element); static gboolean gst_esdmon_sync_parms (GstEsdmon *esdmon); -static GstBuffer * gst_esdmon_get (GstPad *pad); +static GstData * gst_esdmon_get (GstPad *pad); static void gst_esdmon_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); @@ -225,7 +225,7 @@ gst_esdmon_sync_parms (GstEsdmon *esdmon) return gst_esdmon_open_audio (esdmon); } -static GstBuffer * +static GstData * gst_esdmon_get (GstPad *pad) { GstEsdmon *esdmon; @@ -282,7 +282,7 @@ gst_esdmon_get (GstPad *pad) esdmon->samples_since_basetime += readsamples; GST_DEBUG ("pushed buffer from esdmon of %ld bytes, timestamp %" G_GINT64_FORMAT, readbytes, GST_BUFFER_TIMESTAMP (buf)); - return buf; + return GST_DATA (buf); } static void 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)); |