summaryrefslogtreecommitdiff
path: root/gst/gstutils.c
diff options
context:
space:
mode:
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);
}