toc: fix type of pad parameter to gst_toc_entry_new_with_pad()

This commit is contained in:
Tim-Philipp Müller 2012-05-20 18:23:57 +01:00
parent 81e50c21cc
commit 04f8cd886d
2 changed files with 2 additions and 2 deletions

View 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;

View 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);