diff options
author | David Schleef <ds@schleef.org> | 2003-12-21 23:24:38 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-12-21 23:24:38 +0000 |
commit | 8284d0d3a2911a9ef9667aa52f0fd42e4c93405f (patch) | |
tree | 5fa53a115231b29afd0bc832f9c32afdd8dd51c7 /ext/mplex | |
parent | 26da56b423a834192f5edf413c3cb1be257f845a (diff) | |
download | gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.gz gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.tar.bz2 gst-plugins-bad-8284d0d3a2911a9ef9667aa52f0fd42e4c93405f.zip |
Original commit message from CVS:
Global change from "caps2" to "caps"
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 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; |