projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2851c3
)
Track: Add/Remove the GnlComposition from ourself.
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 7 Aug 2009 14:51:49 +0000
(16:51 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Fri, 7 Aug 2009 14:51:49 +0000
(16:51 +0200)
ges/ges-track.c
patch
|
blob
|
history
diff --git
a/ges/ges-track.c
b/ges/ges-track.c
index c3735c5ef679eee80415d71ac69dfa51245387db..0a8d4efdb6ed860a09f76d17ae38b3b29d43a9f9 100644
(file)
--- a/
ges/ges-track.c
+++ b/
ges/ges-track.c
@@
-59,7
+59,7
@@
ges_track_dispose (GObject * object)
/* FIXME : Remove all TrackObjects ! */
if (track->composition) {
- g
_object_unref (
track->composition);
+ g
st_bin_remove (GST_BIN (object),
track->composition);
track->composition = NULL;
}
@@
-87,6
+87,9
@@
static void
ges_track_init (GESTrack * self)
{
self->composition = gst_element_factory_make ("gnlcomposition", NULL);
+
+ if (!gst_bin_add (GST_BIN (self), self->composition))
+ GST_ERROR ("Couldn't add composition to bin !");
}
GESTrack *