summaryrefslogtreecommitdiff
path: root/ges/ges-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ges/ges-utils.c')
-rw-r--r--ges/ges-utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ges/ges-utils.c b/ges/ges-utils.c
index 21eb5dc9..4be6be4f 100644
--- a/ges/ges-utils.c
+++ b/ges/ges-utils.c
@@ -173,3 +173,13 @@ nle_composition_remove_object (GstElement * comp, GstElement * object)
{
return gst_bin_remove (GST_BIN (comp), object);
}
+
+gboolean
+nle_object_commit (GstElement * nlesource, gboolean recurse)
+{
+ gboolean ret;
+
+ g_signal_emit_by_name (nlesource, "commit", recurse, &ret);
+
+ return ret;
+}