summaryrefslogtreecommitdiffstats
path: root/ext/esd/esdmon.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:08:18 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:08:18 +0000
commitf2d5cae8daade402e9d74a829d2b87283167aaa7 (patch)
treecbb13b82d43fa41ffaf6c93973e80c2f620ebf8e /ext/esd/esdmon.c
parent9246e543319c072c52fffa51259a2cf927c8dd43 (diff)
/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.
Diffstat (limited to 'ext/esd/esdmon.c')
-rw-r--r--ext/esd/esdmon.c6
1 files changed, 3 insertions, 3 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