summaryrefslogtreecommitdiff
path: root/gst/gstutils.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-12-21 22:33:42 +0000
committerDavid Schleef <ds@schleef.org>2003-12-21 22:33:42 +0000
commit63ee736634654a4e40334d91bff146944d350100 (patch)
treef436eef505ffa63d2119d612dae87db8ad9f50d1 /gst/gstutils.c
parente1eb5e2d92cbe2d072c95837c031762af1cc8239 (diff)
downloadgstreamer-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 'gst/gstutils.c')
-rw-r--r--gst/gstutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstutils.c b/gst/gstutils.c
index e64329990b..7f38a9d843 100644
--- a/gst/gstutils.c
+++ b/gst/gstutils.c
@@ -386,7 +386,7 @@ void
gst_print_pad_caps (GString * buf, gint indent, GstPad * pad)
{
GstRealPad *realpad;
- GstCaps2 *caps;
+ GstCaps *caps;
realpad = GST_PAD_REALIZE (pad);
caps = realpad->caps;
@@ -398,7 +398,7 @@ gst_print_pad_caps (GString * buf, gint indent, GstPad * pad)
else {
char *s;
- s = gst_caps2_to_string(caps);
+ s = gst_caps_to_string(caps);
g_string_append(buf, s);
g_free(s);
}