gstelement_class->set_clock = gst_aasink_set_clock;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_aasink_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstAASink *aasink;
static void gst_esdsink_close_audio (GstEsdsink *sink);
static GstElementStateReturn gst_esdsink_change_state (GstElement *element);
static gboolean gst_esdsink_sync_parms (GstEsdsink *esdsink);
-static GstPadConnectReturn gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps);
static void gst_esdsink_chain (GstPad *pad, GstBuffer *buf);
return gst_esdsink_open_audio (esdsink);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstEsdsink *esdsink;
static void gst_flacenc_class_init (FlacEncClass *klass);
static void gst_flacenc_dispose (GObject *object);
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_flacenc_sinkconnect (GstPad *pad, GstCaps *caps);
static void gst_flacenc_chain (GstPad *pad, GstBuffer *buf);
G_OBJECT_CLASS (parent_class)->dispose (object);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_flacenc_sinkconnect (GstPad *pad, GstCaps *caps)
{
FlacEnc *flacenc;
static void gst_ladspa_init (GstLADSPA *ladspa);
static void gst_ladspa_update_int(const GValue *value, gpointer data);
-static GstPadConnectReturn gst_ladspa_connect (GstPad *pad, GstCaps *caps);
-static GstPadConnectReturn gst_ladspa_connect_get (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_ladspa_connect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_ladspa_connect_get (GstPad *pad, GstCaps *caps);
static void gst_ladspa_force_src_caps (GstLADSPA *ladspa, GstPad *pad);
static void gst_ladspa_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec);
*target = (gfloat)g_value_get_int(value);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_ladspa_connect (GstPad *pad, GstCaps *caps)
{
GstLADSPA *ladspa = (GstLADSPA *) GST_PAD_PARENT (pad);
return GST_PAD_LINK_OK;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_ladspa_connect_get (GstPad *pad, GstCaps *caps)
{
GstLADSPA *ladspa = (GstLADSPA*)GST_OBJECT_PARENT (pad);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_pngenc_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstPngEnc *pngenc;
static void gst_shout2send_init (GstShout2send *shout2send);
static void gst_shout2send_chain (GstPad *pad, GstBuffer *buf);
-static GstPadConnectReturn gst_shout2send_connect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_shout2send_connect (GstPad *pad, GstCaps *caps);
static void gst_shout2send_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec);
static void gst_shout2send_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec);
}
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_shout2send_connect (GstPad *pad, GstCaps *caps)
{
static void gst_speexdec_init (GstSpeexDec *speexdec);
static void gst_speexdec_chain (GstPad *pad, GstBuffer *buf);
-static GstPadConnectReturn gst_speexdec_sinkconnect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_speexdec_sinkconnect (GstPad *pad, GstCaps *caps);
static GstElementClass *parent_class = NULL;
/*static guint gst_speexdec_signals[LAST_SIGNAL] = { 0 }; */
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_speexdec_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstSpeexDec *speexdec;
static void gst_speexenc_init (GstSpeexEnc *speexenc);
static void gst_speexenc_chain (GstPad *pad,GstBuffer *buf);
-static GstPadConnectReturn gst_speexenc_sinkconnect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_speexenc_sinkconnect (GstPad *pad, GstCaps *caps);
static GstElementClass *parent_class = NULL;
static guint gst_speexenc_signals[LAST_SIGNAL] = { 0 };
speexenc->n_packets = 20;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_speexenc_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstSpeexEnc *speexenc;
GValue * value, GParamSpec * pspec);
static void gst_bpwsinc_chain (GstPad * pad, GstBuffer * buf);
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_bpwsinc_sink_connect (GstPad * pad, GstCaps * caps);
static GstElementClass *parent_class = NULL;
filter->kernel = NULL;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_bpwsinc_sink_connect (GstPad * pad, GstCaps * caps)
{
int i = 0;
double sum = 0.0;
int len = 0;
double *kernel_lp, *kernel_hp;
- GstPadConnectReturn set_retval;
+ GstPadLinkReturn set_retval;
GstBPWSinc *filter = GST_BPWSINC (gst_pad_get_parent (pad));
GValue * value, GParamSpec * pspec);
static void gst_lpwsinc_chain (GstPad * pad, GstBuffer * buf);
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_lpwsinc_sink_connect (GstPad * pad, GstCaps * caps);
static GstElementClass *parent_class = NULL;
filter->kernel = NULL;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_lpwsinc_sink_connect (GstPad * pad, GstCaps * caps)
{
int i = 0;
double sum = 0.0;
int len = 0;
GstLPWSinc *filter = GST_LPWSINC (gst_pad_get_parent (pad));
- GstPadConnectReturn set_retval;
+ GstPadLinkReturn set_retval;
g_assert (GST_IS_PAD (pad));
g_assert (caps != NULL);
gst_element_set_loop_function(GST_ELEMENT(avimux), gst_avimux_loop);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_avimux_sinkconnect (GstPad *pad, GstCaps *vscaps)
{
GstAviMux *avimux;
return cutter_type;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_cutter_connect (GstPad *pad, GstCaps *caps)
{
GstCutter *filter;
gobject_class->get_property = gst_agingtv_get_property;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_agingtv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstAgingTV *filter;
gobject_class->get_property = gst_dicetv_get_property;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_dicetv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstDiceTV *filter;
gobject_class->get_property = gst_edgetv_get_property;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_edgetv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstEdgeTV *filter;
gstelement_class->change_state = gst_quarktv_change_state;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_quarktv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstQuarkTV *filter;
gobject_class->get_property = gst_revtv_get_property;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_revtv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstRevTV *filter;
gobject_class->get_property = gst_shagadelictv_get_property;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_shagadelictv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstShagadelicTV *filter;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_vertigotv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstVertigoTV *filter;
gobject_class->get_property = gst_warptv_get_property;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_warptv_sinkconnect (GstPad * pad, GstCaps * caps)
{
GstWarpTV *filter;
static void gst_goom_chain (GstPad *pad, GstBuffer *buf);
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_goom_sinkconnect (GstPad *pad, GstCaps *caps);
static GstElementClass *parent_class = NULL;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_goom_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstGOOM *goom;
/*static guint gst_stereo_signals[LAST_SIGNAL] = { 0 };*/
-static GstPadConnectReturn
+static GstPadLinkReturn
mulawdec_connect_sink (GstPad *pad, GstCaps *caps)
{
GstCaps *newcaps;
return level_type;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_level_connect (GstPad *pad, GstCaps *caps)
{
GstLevel *filter;
static void gst_monoscope_chain (GstPad *pad, GstBuffer *buf);
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_monoscope_sinkconnect (GstPad *pad, GstCaps *caps);
static GstElementClass *parent_class = NULL;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_monoscope_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstMonoscope *monoscope;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_udpsink_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstUDPSink *udpsink;
static void gst_video_crop_get_property (GObject *object, guint prop_id,
GValue *value, GParamSpec *pspec);
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_video_crop_sink_connect (GstPad *pad, GstCaps *caps);
static void gst_video_crop_chain (GstPad *pad, GstBuffer *buffer);
}
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_video_crop_sink_connect (GstPad *pad, GstCaps *caps)
{
GstVideoCrop *video_crop;
return TRUE;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_wavenc_sinkconnect (GstPad *pad,
GstCaps *caps)
{
static gboolean gst_osssink_sink_query (GstPad *pad, GstQueryType type,
GstFormat *format, gint64 *value);
-static GstPadConnectReturn gst_osssink_sinkconnect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_osssink_sinkconnect (GstPad *pad, GstCaps *caps);
static void gst_osssink_set_property (GObject *object, guint prop_id, const GValue *value,
GParamSpec *pspec);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_osssink_sinkconnect (GstPad *pad, GstCaps *caps)
{
GstOssSink *osssink = GST_OSSSINK (gst_pad_get_parent (pad));
static void gst_osssrc_class_init (GstOssSrcClass *klass);
static void gst_osssrc_init (GstOssSrc *osssrc);
-static GstPadConnectReturn gst_osssrc_srcconnect (GstPad *pad, GstCaps *caps);
+static GstPadLinkReturn gst_osssrc_srcconnect (GstPad *pad, GstCaps *caps);
static const GstFormat* gst_osssrc_get_formats (GstPad *pad);
static gboolean gst_osssrc_convert (GstPad *pad,
GstFormat src_format, gint64 src_value,
osssrc->curoffset = 0;
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_osssrc_srcconnect (GstPad *pad, GstCaps *caps)
{
GstOssSrc *src;
gint64 src_value,
GstFormat *dest_format,
gint64 *dest_value);
-static GstPadConnectReturn gst_v4l2src_srcconnect (GstPad *pad,
+static GstPadLinkReturn gst_v4l2src_srcconnect (GstPad *pad,
GstCaps *caps);
static GstCaps * gst_v4l2src_getcaps (GstPad *pad,
GstCaps *caps);
}
-static GstPadConnectReturn
+static GstPadLinkReturn
gst_v4l2src_srcconnect (GstPad *pad,
GstCaps *vscapslist)
{
format->flags & V4L2_FMT_FLAG_COMPRESSED);
GstCaps *onecaps;
for (;lastcaps != NULL; lastcaps = lastcaps->next) {
- GstPadConnectReturn ret_val;
+ GstPadLinkReturn ret_val;
onecaps = gst_caps_copy_1(lastcaps);
if ((ret_val = gst_pad_try_set_caps(v4l2src->srcpad, onecaps)) > 0) {
if (gst_v4l2src_capture_init(v4l2src))