From: Wim Taymans Date: Mon, 16 May 2011 15:30:13 +0000 (+0200) Subject: v4lsrc: fix for new getcaps function X-Git-Tag: 1.19.3~511^2~7654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a477837ffe476bb062ff0c0640dd6bd7bb17d3a6;p=platform%2Fupstream%2Fgstreamer.git v4lsrc: fix for new getcaps function --- diff --git a/sys/v4l/gstv4lsrc.c b/sys/v4l/gstv4lsrc.c index da83573..0aeb25b 100644 --- a/sys/v4l/gstv4lsrc.c +++ b/sys/v4l/gstv4lsrc.c @@ -56,7 +56,7 @@ static GstStaticPadTemplate v4l_src_template = GST_STATIC_PAD_TEMPLATE ("src", static gboolean gst_v4lsrc_start (GstBaseSrc * src); static gboolean gst_v4lsrc_stop (GstBaseSrc * src); static gboolean gst_v4lsrc_set_caps (GstBaseSrc * src, GstCaps * caps); -static GstCaps *gst_v4lsrc_get_caps (GstBaseSrc * src); +static GstCaps *gst_v4lsrc_get_caps (GstBaseSrc * src, GstCaps * filter); static GstFlowReturn gst_v4lsrc_create (GstPushSrc * src, GstBuffer ** out); static gboolean gst_v4lsrc_query (GstBaseSrc * bsrc, GstQuery ** query); static void gst_v4lsrc_fixate (GstBaseSrc * bsrc, GstCaps * caps); @@ -359,7 +359,7 @@ gst_v4lsrc_get_any_caps (void) } static GstCaps * -gst_v4lsrc_get_caps (GstBaseSrc * src) +gst_v4lsrc_get_caps (GstBaseSrc * src, GstCaps * filter) { GstCaps *list; GstV4lSrc *v4lsrc = GST_V4LSRC (src);