summaryrefslogtreecommitdiff
path: root/ges/gstframepositioner.c
diff options
context:
space:
mode:
Diffstat (limited to 'ges/gstframepositioner.c')
-rw-r--r--ges/gstframepositioner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ges/gstframepositioner.c b/ges/gstframepositioner.c
index 23a61e1e..368b4c49 100644
--- a/ges/gstframepositioner.c
+++ b/ges/gstframepositioner.c
@@ -87,7 +87,8 @@ gst_compositor_operator_get_type_and_default_value (int *default_operator_value)
GstElement *compositor =
gst_element_factory_create (ges_get_compositor_factory (), NULL);
- GstPad *compositorPad = gst_element_get_request_pad (compositor, "sink_%u");
+ GstPad *compositorPad =
+ gst_element_request_pad_simple (compositor, "sink_%u");
GParamSpec *pspec =
g_object_class_find_property (G_OBJECT_GET_CLASS (compositorPad),