static void gst_alsa_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec);
static void gst_alsa_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec);
static GstElementStateReturn gst_alsa_change_state(GstElement *element);
-static GstPadConnectReturn gst_alsa_connect(GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_alsa_connect(GstPad *pad, GstCaps *caps);
static GstCaps* gst_alsa_caps (GstAlsa *this);
/*
* Negotiates the caps, "borrowed" from gstosssink.c
*/
-GstPadConnectReturn
+GstPadLinkReturn
gst_alsa_connect(GstPad *pad, GstCaps *caps)
{
GstAlsa *this;
gstelement_class->change_state = gst_vorbisenc_change_state;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_vorbisenc_sinkconnect (GstPad * pad, GstCaps * caps)
{
VorbisEnc *vorbisenc;
return TRUE;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_adder_connect (GstPad *pad, GstCaps *caps)
{
GstAdder *adder;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_audioscale_sinkconnect (GstPad * pad, GstCaps * caps)
{
Audioscale *audioscale;
}
*/
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_videoscale_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstVideoscale *videoscale;
gstelement_class->change_state = gst_videotestsrc_change_state;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_videotestsrc_srcconnect (GstPad * pad, GstCaps * caps)
{
GstVideotestsrc *videotestsrc;
return gst_pad_get_bufferpool (filter->srcpad);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
volume_connect (GstPad *pad, GstCaps *caps)
{
GstVolume *filter;
otherpad = (pad == filter->srcpad ? filter->sinkpad : filter->srcpad);
if (GST_CAPS_IS_FIXED (caps)) {
- GstPadConnectReturn set_retval;
+ GstPadLinkReturn set_retval;
if (!volume_parse_caps (filter, caps))
return GST_PAD_LINK_REFUSED;
static void gst_v4lmjpegsink_init (GstV4lMjpegSink *v4lmjpegsink);
/* the chain of buffers */
-static GstPadConnectReturn gst_v4lmjpegsink_sinkconnect (GstPad *pad,
+static GstPadLinkReturn gst_v4lmjpegsink_sinkconnect (GstPad *pad,
GstCaps *vscapslist);
static void gst_v4lmjpegsink_chain (GstPad *pad,
GstBuffer *buf);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_v4lmjpegsink_sinkconnect (GstPad *pad,
GstCaps *vscapslist)
{
gint64 src_value,
GstFormat *dest_format,
gint64 *dest_value);
-static GstPadConnectReturn gst_v4lmjpegsrc_srcconnect (GstPad *pad,
+static GstPadLinkReturn gst_v4lmjpegsrc_srcconnect (GstPad *pad,
GstCaps *caps);
static GstBuffer* gst_v4lmjpegsrc_get (GstPad *pad);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_v4lmjpegsrc_srcconnect (GstPad *pad,
GstCaps *caps)
{
- GstPadConnectReturn ret_val;
+ GstPadLinkReturn ret_val;
GstV4lMjpegSrc *v4lmjpegsrc;
v4lmjpegsrc = GST_V4LMJPEGSRC (gst_pad_get_parent (pad));
gint64 src_value,
GstFormat *dest_format,
gint64 *dest_value);
-static GstPadConnectReturn gst_v4lsrc_srcconnect (GstPad *pad,
+static GstPadLinkReturn gst_v4lsrc_srcconnect (GstPad *pad,
GstCaps *caps);
static GstBuffer* gst_v4lsrc_get (GstPad *pad);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_v4lsrc_srcconnect (GstPad *pad,
GstCaps *vscapslist)
{
- GstPadConnectReturn ret_val;
+ GstPadLinkReturn ret_val;
GstV4lSrc *v4lsrc;
GstCaps *caps, *newcaps;
gint palette;