diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-01-10 10:22:25 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-01-10 10:22:25 +0000 |
commit | 424db0d3aea0ce26a35ba381b4e439f32e50c961 (patch) | |
tree | cf1e32dcea1deec9b9c8802af89b2cce9ac5b175 /ext/mplex | |
parent | 562e0b2526c75e98dfe790dba5fa50a0be0a95d3 (diff) | |
download | gst-plugins-bad-424db0d3aea0ce26a35ba381b4e439f32e50c961.tar.gz gst-plugins-bad-424db0d3aea0ce26a35ba381b4e439f32e50c961.tar.bz2 gst-plugins-bad-424db0d3aea0ce26a35ba381b4e439f32e50c961.zip |
another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
Diffstat (limited to 'ext/mplex')
-rw-r--r-- | ext/mplex/gstmplex.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 43a0901d..0d8db34c 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -256,12 +256,12 @@ gst_mplex_video_connect (GstPad *pad, GstCaps *caps) mplex = GST_MPLEX (gst_pad_get_parent (pad)); if (!GST_CAPS_IS_FIXED (caps)) - return GST_PAD_CONNECT_DELAYED; + return GST_PAD_LINK_DELAYED; stream = (GstMPlexStream *) gst_pad_get_element_private (pad); if (!gst_caps_get_int (caps, "mpegversion", &version)){ - return GST_PAD_CONNECT_REFUSED; + return GST_PAD_LINK_REFUSED; } if (version == 2) { @@ -271,7 +271,7 @@ gst_mplex_video_connect (GstPad *pad, GstCaps *caps) stream->type = GST_MPLEX_STREAM_VIDEO; } - return GST_PAD_CONNECT_OK; + return GST_PAD_LINK_OK; } |