diff options
author | David Schleef <ds@schleef.org> | 2003-12-21 22:33:42 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-12-21 22:33:42 +0000 |
commit | 63ee736634654a4e40334d91bff146944d350100 (patch) | |
tree | f436eef505ffa63d2119d612dae87db8ad9f50d1 /plugins/elements/gstidentity.c | |
parent | e1eb5e2d92cbe2d072c95837c031762af1cc8239 (diff) | |
download | gstreamer-CAPS.tar.gz |
Global change from "caps2" to "caps". Script is: #!/bin/sh find . -name '*.[chy]' -exec perl -i -p \CAPS-ENDCAPS
Original commit message from CVS:
Global change from "caps2" to "caps". Script is:
#!/bin/sh
find . -name '*.[chy]' -exec perl -i -p \
-e 's/gst_static_caps2_/gst_static_caps_/g;\
s/GST_CAPS2_/GST_CAPS_/g;\
s/gst_caps2_/gst_caps_/g;\
s/GstCaps2/GstCaps/g;\
s/GstStaticCaps2/GstStaticCaps/g;\
s/GST_STATIC_CAPS2_/GST_STATIC_CAPS_/g;\
s/GST_TYPE_CAPS2/GST_TYPE_CAPS/g;\
s/gst_caps_get_nth_cap/gst_caps_get_structure/g;\
s/gst_caps_get_n_structures/gst_caps_get_size/g;\
s/gst_caps_append_cap/gst_caps_append_structure/g;\
s/GST_CAPS2_/GST_CAPS_/g;' \
{} \;
Diffstat (limited to 'plugins/elements/gstidentity.c')
-rw-r--r-- | plugins/elements/gstidentity.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/elements/gstidentity.c b/plugins/elements/gstidentity.c index 1b660b58af..acf97add1a 100644 --- a/plugins/elements/gstidentity.c +++ b/plugins/elements/gstidentity.c @@ -152,7 +152,7 @@ gst_identity_class_init (GstIdentityClass *klass) gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_identity_get_property); } -static GstCaps2* +static GstCaps* gst_identity_getcaps (GstPad *pad) { GstIdentity *identity; @@ -171,20 +171,20 @@ gst_identity_getcaps (GstPad *pad) if (peer) { return gst_pad_get_caps (peer); } else { - return gst_caps2_new_any (); + return gst_caps_new_any (); } } static GstPadLinkReturn -gst_identity_link (GstPad *pad, const GstCaps2 *caps) +gst_identity_link (GstPad *pad, const GstCaps *caps) { GstIdentity *identity; identity = GST_IDENTITY (gst_pad_get_parent (pad)); - if (gst_caps2_is_fixed (caps)) { + if (gst_caps_is_fixed (caps)) { if (identity->delay_capsnego && GST_PAD_IS_SINK (pad)) { - identity->srccaps = gst_caps2_copy (caps); + identity->srccaps = gst_caps_copy (caps); return GST_PAD_LINK_OK; } |