From c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:19 +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/qcam/gstqcamsrc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/qcam/gstqcamsrc.c') diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c index 2c730328..b7f1a6f9 100644 --- a/sys/qcam/gstqcamsrc.c +++ b/sys/qcam/gstqcamsrc.c @@ -123,7 +123,7 @@ static GstElementStateReturn gst_qcamsrc_change_state (GstElement *element); static void gst_qcamsrc_close (GstQCamSrc *src); static gboolean gst_qcamsrc_open (GstQCamSrc *src); -static GstBuffer* gst_qcamsrc_get (GstPad *pad); +static GstData* gst_qcamsrc_get (GstPad *pad); static GstElementClass *parent_class = NULL; /*//static guint gst_qcamsrc_signals[LAST_SIGNAL] = { 0 }; */ @@ -227,7 +227,7 @@ gst_qcamsrc_init (GstQCamSrc *qcamsrc) qcip_set_autoexposure_mode (qcamsrc->autoexposure); } -static GstBuffer* +static GstData* gst_qcamsrc_get (GstPad *pad) { GstQCamSrc *qcamsrc; @@ -275,7 +275,7 @@ gst_qcamsrc_get (GstPad *pad) memset (outdata+frame, 128, frame>>1); g_free (scan); - return buf; + return GST_DATA (buf); } static void -- cgit v1.2.1