Commit 357d734f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Make sure we always have an input_item associated to a playlist_item.

parent fde62dfd
......@@ -163,6 +163,8 @@ playlist_item_t *playlist_ItemNewFromInput( playlist_t *p_playlist,
{
DECMALLOC_NULL( p_item, playlist_item_t );
assert( p_input );
p_item->p_input = p_input;
vlc_gc_incref( p_item->p_input );
......
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