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. --- sys/oss/gstossgst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/oss/gstossgst.c') diff --git a/sys/oss/gstossgst.c b/sys/oss/gstossgst.c index 070c693a..1dfd2b07 100644 --- a/sys/oss/gstossgst.c +++ b/sys/oss/gstossgst.c @@ -55,7 +55,7 @@ static GstElementStateReturn gst_ossgst_change_state (GstElement *element); static void gst_ossgst_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec); static void gst_ossgst_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); -static GstBuffer* gst_ossgst_get (GstPad *pad); +static GstData* gst_ossgst_get (GstPad *pad); /* OssGst signals and args */ enum { @@ -277,7 +277,7 @@ gst_ossgst_format_to_caps (gint format, gint stereo, gint rate) return caps; } -static GstBuffer* +static GstData* gst_ossgst_get (GstPad *pad) { GstOssGst *ossgst; @@ -320,7 +320,7 @@ gst_ossgst_get (GstPad *pad) } } - return buf; + return GST_DATA (buf); } static void -- cgit