Commit e2ced465 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: remove input_item_PostSubItem() (refs #17652)

parent b18794b1
......@@ -173,18 +173,6 @@ struct input_item_node_t
VLC_API void input_item_CopyOptions( input_item_t *p_child, input_item_t *p_parent );
VLC_API void input_item_SetName( input_item_t *p_item, const char *psz_name );
/**
* Add one subitem to this item
*
* This won't hold the item, but can tell to interested third parties
* Like the playlist, that there is a new sub item. With this design
* It is not the input item's responsibility to keep all the ref of
* the input item children.
*
* Sends a vlc_InputItemSubItemTreeAdded event
*/
VLC_API void input_item_PostSubItem( input_item_t *p_parent, input_item_t *p_child );
/**
* Start adding multiple subitems.
*
......
......@@ -226,17 +226,6 @@ void input_item_CopyOptions( input_item_t *p_child,
free( optv );
}
/* This won't hold the item, but can tell to interested third parties
* Like the playlist, that there is a new sub item. With this design
* It is not the input item's responsibility to keep all the ref of
* the input item children. */
void input_item_PostSubItem( input_item_t *p_parent, input_item_t *p_child )
{
input_item_node_t *p_node = input_item_node_Create( p_parent );
input_item_node_AppendItem( p_node, p_child );
input_item_node_PostAndDelete( p_node );
}
bool input_item_HasErrorWhenReading( input_item_t *p_item )
{
vlc_mutex_lock( &p_item->lock );
......
......@@ -193,7 +193,6 @@ input_item_node_AppendNode
input_item_node_Create
input_item_node_Delete
input_item_node_PostAndDelete
input_item_PostSubItem
input_item_ReplaceInfos
input_item_SetDuration
input_item_SetMeta
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment