diff --git a/gst/gsttoc.c b/gst/gsttoc.c index b6170099ab..f04fbdf0e5 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 c08868b8c4..b3e0fc062c 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);