summaryrefslogtreecommitdiff
authorAlessandro Decina <alessandro.decina@collabora.co.uk>2010-08-19 13:00:38 (GMT)
committer Alessandro Decina <alessandro.decina@collabora.co.uk>2010-08-20 08:31:38 (GMT)
commitd246e0c592fa6222c2003c59b2dd1026b905933d (patch) (side-by-side diff)
tree31dce9132bf6cb8b0dce524c8757e7eaeecd69aa
parentde22f3501ac8721a6f1725cf069455bec286f957 (diff)
downloadgnonlin-d246e0c592fa6222c2003c59b2dd1026b905933d.zip
gnonlin-d246e0c592fa6222c2003c59b2dd1026b905933d.tar.gz
gnlcomposition: fix thinko.
In gnl_composition_remove_object initialize the return value to FALSE and not to GST_STATE_CHANGE_FAILURE.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gnl/gnlcomposition.c2
1 files changed, 1 insertions, 1 deletions
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));