toc: fix type of pad parameter to gst_toc_entry_new_with_pad()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 20 May 2012 17:23:57 +0000 (18:23 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 20 May 2012 17:24:38 +0000 (18:24 +0100)
gst/gsttoc.c
gst/gsttoc.h

index b617009..f04fbdf 100644 (file)
@@ -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;
 
index c08868b..b3e0fc0 100644 (file)
@@ -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);