diff options
Diffstat (limited to 'gst/effectv/gstwarp.c')
-rw-r--r-- | gst/effectv/gstwarp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index 0cebf889..939ca150 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -153,7 +153,7 @@ gst_warptv_sinkconnect (GstPad * pad, GstCaps * caps) filter = GST_WARPTV (gst_pad_get_parent (pad)); if (!GST_CAPS_IS_FIXED (caps)) - return GST_PAD_CONNECT_DELAYED; + return GST_PAD_LINK_DELAYED; gst_caps_get_int (caps, "width", &filter->width); gst_caps_get_int (caps, "height", &filter->height); @@ -168,7 +168,7 @@ gst_warptv_init (GstWarpTV * filter) { filter->sinkpad = gst_pad_new_from_template (gst_effectv_sink_factory (), "sink"); gst_pad_set_chain_function (filter->sinkpad, gst_warptv_chain); - gst_pad_set_connect_function (filter->sinkpad, gst_warptv_sinkconnect); + gst_pad_set_link_function (filter->sinkpad, gst_warptv_sinkconnect); gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad); filter->srcpad = gst_pad_new_from_template (gst_effectv_src_factory (), "src"); |