Commit f4e5fd41 authored by Rafaël Carré's avatar Rafaël Carré

playlist: incrementing the input_id is already taken care of in input_ItemNewWithType()

parent ac364cbe
...@@ -59,7 +59,6 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist, ...@@ -59,7 +59,6 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist,
if( !psz_name ) psz_name = _("Undefined"); if( !psz_name ) psz_name = _("Undefined");
p_input = input_ItemNewWithType( VLC_OBJECT(p_playlist), NULL, psz_name, p_input = input_ItemNewWithType( VLC_OBJECT(p_playlist), NULL, psz_name,
0, NULL, -1, ITEM_TYPE_NODE ); 0, NULL, -1, ITEM_TYPE_NODE );
p_input->i_id = ++p_playlist->i_last_input_id;
p_item = playlist_ItemNewFromInput( VLC_OBJECT(p_playlist), p_input ); p_item = playlist_ItemNewFromInput( VLC_OBJECT(p_playlist), p_input );
p_item->i_children = 0; p_item->i_children = 0;
......
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