From 8284d0d3a2911a9ef9667aa52f0fd42e4c93405f Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 21 Dec 2003 23:24:38 +0000 Subject: Global change from "caps2" to "caps" Original commit message from CVS: Global change from "caps2" to "caps" --- ext/mplex/gstmplex.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/mplex') diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 535b058f..2fda444c 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -101,7 +101,7 @@ GST_STATIC_PAD_TEMPLATE ( "private_stream_2", GST_PAD_SINK, GST_PAD_REQUEST, - GST_STATIC_CAPS2_ANY + GST_STATIC_CAPS_ANY ); #define GST_TYPE_MPLEX_MUX_FORMAT (gst_mplex_mux_format_get_type()) @@ -253,7 +253,7 @@ gst_mplex_init (GstMPlex *mplex) } static GstPadLinkReturn -gst_mplex_video_link (GstPad *pad, const GstCaps2 *caps) +gst_mplex_video_link (GstPad *pad, const GstCaps *caps) { GstMPlex *mplex; gint version; @@ -264,7 +264,7 @@ gst_mplex_video_link (GstPad *pad, const GstCaps2 *caps) stream = (GstMPlexStream *) gst_pad_get_element_private (pad); - structure = gst_caps2_get_nth_cap (caps, 0); + structure = gst_caps_get_structure (caps, 0); if (!gst_structure_get_int (structure, "mpegversion", &version)){ return GST_PAD_LINK_REFUSED; -- cgit v1.2.1