mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
timeline-element: Make it possible to reset the timeline property to NULL
+ Add some debug symbol
This commit is contained in:
parent
9b14c001b0
commit
b57f55121b
2 changed files with 6 additions and 1 deletions
|
@ -323,7 +323,7 @@ ges_timeline_element_set_timeline (GESTimelineElement * self,
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "set timeline to %" GST_PTR_FORMAT, timeline);
|
GST_DEBUG_OBJECT (self, "set timeline to %" GST_PTR_FORMAT, timeline);
|
||||||
|
|
||||||
if (G_UNLIKELY (self->timeline != NULL))
|
if (timeline != NULL && G_UNLIKELY (self->timeline != NULL))
|
||||||
goto had_timeline;
|
goto had_timeline;
|
||||||
|
|
||||||
self->timeline = timeline;
|
self->timeline = timeline;
|
||||||
|
|
|
@ -2031,6 +2031,11 @@ trackelement_priority_changed_cb (GESTrackElement * child,
|
||||||
GSequence *by_layer_sequence =
|
GSequence *by_layer_sequence =
|
||||||
g_hash_table_lookup (priv->by_layer, layer);
|
g_hash_table_lookup (priv->by_layer, layer);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (child, "Moved from layer %" GST_PTR_FORMAT
|
||||||
|
"(prio %d) to" " %" GST_PTR_FORMAT " (prio %d)", layer,
|
||||||
|
ges_layer_get_priority (layer), iters->layer,
|
||||||
|
ges_layer_get_priority (iters->layer));
|
||||||
|
|
||||||
g_sequence_remove (iters->iter_by_layer);
|
g_sequence_remove (iters->iter_by_layer);
|
||||||
iters->iter_by_layer =
|
iters->iter_by_layer =
|
||||||
g_sequence_insert_sorted (by_layer_sequence, child,
|
g_sequence_insert_sorted (by_layer_sequence, child,
|
||||||
|
|
Loading…
Reference in a new issue