mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Changing remaining clip::track-element-added to container::child-added
This commit is contained in:
parent
d3595d4706
commit
811e68811c
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue