summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/mplex/gstmplex.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc
index 3801b58f..dec67522 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;