ghostpad: skip type check in internal api

This commit is contained in:
Stefan Kost 2009-11-05 14:29:12 +02:00
parent 64a4037f63
commit df2341684f

View file

@ -991,7 +991,7 @@ gst_ghost_pad_new_full (const gchar * name, GstPadDirection dir,
if (!gst_ghost_pad_construct (ret)) if (!gst_ghost_pad_construct (ret))
goto construct_failed; goto construct_failed;
return GST_PAD (ret); return GST_PAD_CAST (ret);
construct_failed: construct_failed:
/* already logged */ /* already logged */