From 04f8cd886daf88b6ce2e0a65a343219d6a863bbb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 20 May 2012 18:23:57 +0100 Subject: [PATCH] toc: fix type of pad parameter to gst_toc_entry_new_with_pad() --- gst/gsttoc.c | 2 +- gst/gsttoc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gsttoc.c b/gst/gsttoc.c index b617009..f04fbdf 100644 --- a/gst/gsttoc.c +++ b/gst/gsttoc.c @@ -135,7 +135,7 @@ gst_toc_entry_new (GstTocEntryType type, const gchar * uid) */ GstTocEntry * gst_toc_entry_new_with_pad (GstTocEntryType type, const gchar * uid, - gpointer pad) + GstPad * pad) { GstTocEntry *entry; diff --git a/gst/gsttoc.h b/gst/gsttoc.h index c08868b..b3e0fc0 100644 --- a/gst/gsttoc.h +++ b/gst/gsttoc.h @@ -93,7 +93,7 @@ struct _GstToc { /* functions to create new structures */ GstToc * gst_toc_new (void); GstTocEntry * gst_toc_entry_new (GstTocEntryType type, const gchar *uid); -GstTocEntry * gst_toc_entry_new_with_pad (GstTocEntryType type, const gchar *uid, gpointer pad); +GstTocEntry * gst_toc_entry_new_with_pad (GstTocEntryType type, const gchar *uid, GstPad * pad); /* functions to free structures */ void gst_toc_entry_free (GstTocEntry *entry); -- 2.7.4