From d246e0c592fa6222c2003c59b2dd1026b905933d Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Thu, 19 Aug 2010 15:00:38 +0200 Subject: gnlcomposition: fix thinko. In gnl_composition_remove_object initialize the return value to FALSE and not to GST_STATE_CHANGE_FAILURE. --- gnl/gnlcomposition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index 0efdb29..1c4e62d 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -2600,7 +2600,7 @@ gnl_composition_remove_object (GstBin * bin, GstElement * element) { GnlComposition *comp = (GnlComposition *) bin; GstClockTime curpos = GST_CLOCK_TIME_NONE; - gboolean ret = GST_STATE_CHANGE_FAILURE; + gboolean ret = FALSE; gboolean update_required; GST_DEBUG_OBJECT (bin, "element %s", GST_OBJECT_NAME (element)); -- cgit v1.2.3