summaryrefslogtreecommitdiff
path: root/gnl/gnloperation.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnl/gnloperation.c')
-rw-r--r--gnl/gnloperation.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnl/gnloperation.c b/gnl/gnloperation.c
index 7b7adcd..90c3b84 100644
--- a/gnl/gnloperation.c
+++ b/gnl/gnloperation.c
@@ -378,9 +378,8 @@ gnl_operation_add_element (GstBin * bin, GstElement * element)
gnl_object_ghost_pad_set_target (GNL_OBJECT (operation),
operation->ghostpad, srcpad);
else
- operation->ghostpad =
- gnl_object_ghost_pad_full (GNL_OBJECT (operation),
- GST_PAD_NAME (srcpad), srcpad, TRUE);
+ operation->ghostpad = gnl_object_ghost_pad (GNL_OBJECT (operation),
+ GST_PAD_NAME (srcpad), srcpad);
/* Remove the reference get_src_pad gave us */
gst_object_unref (srcpad);