diff options
author | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:18 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-10-08 16:08:18 +0000 |
commit | f2d5cae8daade402e9d74a829d2b87283167aaa7 (patch) | |
tree | cbb13b82d43fa41ffaf6c93973e80c2f620ebf8e /sys/v4l2 | |
parent | 9246e543319c072c52fffa51259a2cf927c8dd43 (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 'sys/v4l2')
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 015e3c43..7a0094bd 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -74,7 +74,7 @@ static GstPadLinkReturn gst_v4l2src_srcconnect (GstPad *pad, GstCaps *caps); static GstCaps * gst_v4l2src_getcaps (GstPad *pad, GstCaps *caps); -static GstBuffer * gst_v4l2src_get (GstPad *pad); +static GstData * gst_v4l2src_get (GstPad *pad); /* get/set params */ static void gst_v4l2src_set_property (GObject *object, @@ -765,7 +765,7 @@ gst_v4l2src_getcaps (GstPad *pad, } -static GstBuffer* +static GstData* gst_v4l2src_get (GstPad *pad) { GstV4l2Src *v4l2src; @@ -874,7 +874,7 @@ gst_v4l2src_get (GstPad *pad) g_signal_emit(G_OBJECT(v4l2src), gst_v4l2src_signals[SIGNAL_FRAME_CAPTURE], 0); - return buf; + return GST_DATA (buf); } |