summaryrefslogtreecommitdiff
path: root/gnl/gnlghostpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnl/gnlghostpad.c')
-rw-r--r--gnl/gnlghostpad.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/gnl/gnlghostpad.c b/gnl/gnlghostpad.c
index 4ec1863..1757453 100644
--- a/gnl/gnlghostpad.c
+++ b/gnl/gnlghostpad.c
@@ -658,16 +658,13 @@ control_internal_pad (GstPad * ghostpad, GnlObject * object)
*
* Returns: The #GstPad if everything went correctly, else NULL.
*/
-
GstPad *
-gnl_object_ghost_pad_full (GnlObject * object, const gchar * name,
- GstPad * target, gboolean flush_hack)
+gnl_object_ghost_pad (GnlObject * object, const gchar * name, GstPad * target)
{
GstPadDirection dir = GST_PAD_DIRECTION (target);
GstPad *ghost;
- GST_DEBUG_OBJECT (object, "name:%s, target:%p, flush_hack:%d",
- name, target, flush_hack);
+ GST_DEBUG_OBJECT (object, "name:%s, target:%p", name, target);
g_return_val_if_fail (target, FALSE);
g_return_val_if_fail ((dir != GST_PAD_UNKNOWN), FALSE);
@@ -697,12 +694,6 @@ gnl_object_ghost_pad_full (GnlObject * object, const gchar * name,
return ghost;
}
-GstPad *
-gnl_object_ghost_pad (GnlObject * object, const gchar * name, GstPad * target)
-{
- return gnl_object_ghost_pad_full (object, name, target, FALSE);
-}
-
/*
* gnl_object_ghost_pad_no_target:
* /!\ Doesn't add the pad to the GnlObject....