summaryrefslogtreecommitdiff
path: root/examples/seeking/vorbisfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seeking/vorbisfile.c')
-rw-r--r--examples/seeking/vorbisfile.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/seeking/vorbisfile.c b/examples/seeking/vorbisfile.c
index f191aa7b..acaa60c9 100644
--- a/examples/seeking/vorbisfile.c
+++ b/examples/seeking/vorbisfile.c
@@ -12,25 +12,25 @@ struct probe_context {
gint total_ls;
- GstCaps2 *metadata;
- GstCaps2 *streaminfo;
- GstCaps2 *caps;
+ GstCaps *metadata;
+ GstCaps *streaminfo;
+ GstCaps *caps;
};
static void
-print_caps (GstCaps2 *caps)
+print_caps (GstCaps *caps)
{
char *s;
- s = gst_caps2_to_string (caps);
+ s = gst_caps_to_string (caps);
g_print(" %s\n", s);
g_free (s);
}
static void
-print_format (GstCaps2 *caps)
+print_format (GstCaps *caps)
{
char *s;
- s = gst_caps2_to_string (caps);
+ s = gst_caps_to_string (caps);
g_print(" format: %s\n", s);
g_free (s);
}