Changing remaining clip::track-element-added to container::child-added

This commit is contained in:
Thibault Saunier 2013-03-30 15:40:38 +01:00
parent d3595d4706
commit 811e68811c
2 changed files with 3 additions and 3 deletions

View file

@ -888,7 +888,7 @@ make_source (GESFormatter * self, GList * reflist, GHashTable * source_table)
if (g_strcmp0 (fac_ref, (gchar *) "effect")) {
/* FIXME this is a hack to get a ref to the formatter when receiving
* track-element-added */
* child-added */
g_hash_table_insert (props_table, (gchar *) "current-formatter", self);
if (a_avail && (!video)) {
a_avail = FALSE;
@ -919,7 +919,7 @@ make_source (GESFormatter * self, GList * reflist, GHashTable * source_table)
set_properties (G_OBJECT (src), props_table);
ges_timeline_layer_add_clip (layer, GES_CLIP (src));
g_signal_connect (src, "track-element-added",
g_signal_connect (src, "child-added",
G_CALLBACK (track_element_added_cb), props_table);
priv->sources_to_load = g_list_prepend (priv->sources_to_load, src);

View file

@ -462,7 +462,7 @@ ges_timeline_layer_is_empty (GESTimelineLayer * layer)
*
* Calling this method will construct and properly set all the media related
* elements on @clip. If you need to know when those objects (actually #GESTrackElement)
* are constructed, you should connect to the clip::track-element-added signal which
* are constructed, you should connect to the container::child-added signal which
* is emited right after those elements are ready to be used.
*
* Returns: TRUE if the clip was properly added to the layer, or FALSE