mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
nle: Remove unused function
nle/nlecomposition.c:2471:1: error: unused function '_parent_or_priority_changed' [-Werror,-Wunused-function] _parent_or_priority_changed (NleObject * obj, GNode * oldnode, ^
This commit is contained in:
parent
fd81083071
commit
d46efecf2b
1 changed files with 0 additions and 19 deletions
|
@ -2467,25 +2467,6 @@ update_start_stop_duration (NleComposition * comp)
|
|||
GST_TIME_ARGS (cobj->stop), GST_TIME_ARGS (cobj->duration));
|
||||
}
|
||||
|
||||
static inline gboolean
|
||||
_parent_or_priority_changed (NleObject * obj, GNode * oldnode,
|
||||
NleObject * newparent, GNode * node)
|
||||
{
|
||||
NleObject *oldparent = NULL;
|
||||
|
||||
if (oldnode)
|
||||
oldparent =
|
||||
G_NODE_IS_ROOT (oldnode) ? NULL : (NleObject *) oldnode->parent->data;
|
||||
|
||||
if (oldparent != newparent)
|
||||
return TRUE;
|
||||
|
||||
if (oldparent == NULL || newparent == NULL)
|
||||
return FALSE;
|
||||
|
||||
return (g_node_child_index (node, obj) != g_node_child_index (oldnode, obj));
|
||||
}
|
||||
|
||||
static void
|
||||
_link_to_parent (NleComposition * comp, NleObject * newobj,
|
||||
NleObject * newparent)
|
||||
|
|
Loading…
Reference in a new issue