From 3ac1f4da2df487d0a1697b6741b54524cd4c941c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 12 Jan 2003 02:13:17 +0000 Subject: [PATCH] connect fix Original commit message from CVS: connect fix --- ext/mplex/gstmplex.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 3801b58..dec6752 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -247,7 +247,7 @@ gst_mplex_init (GstMPlex *mplex) } static GstPadLinkReturn -gst_mplex_video_connect (GstPad *pad, GstCaps *caps) +gst_mplex_video_link (GstPad *pad, GstCaps *caps) { GstMPlex *mplex; gint version; @@ -301,7 +301,7 @@ gst_mplex_request_new_pad (GstElement *element, pad = gst_pad_new (name, GST_PAD_SINK); /* we still need to figure out the mpeg version */ - gst_pad_set_connect_function (pad, gst_mplex_video_connect); + gst_pad_set_link_function (pad, gst_mplex_video_link); g_free (name); stream->type = GST_MPLEX_STREAM_UNKOWN; -- 2.7.4