Commit 1f8c859d authored by Clément Stenac's avatar Clément Stenac

Don't attach playlist twice

parent 1ab643d4
...@@ -149,7 +149,6 @@ playlist_t * playlist_Create( vlc_object_t *p_parent ) ...@@ -149,7 +149,6 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
p_playlist->i_sort = SORT_ID; p_playlist->i_sort = SORT_ID;
p_playlist->i_order = ORDER_NORMAL; p_playlist->i_order = ORDER_NORMAL;
vlc_object_attach( p_playlist, p_parent );
b_save = p_playlist->b_auto_preparse; b_save = p_playlist->b_auto_preparse;
p_playlist->b_auto_preparse = VLC_FALSE; p_playlist->b_auto_preparse = VLC_FALSE;
playlist_MLLoad( p_playlist ); playlist_MLLoad( p_playlist );
......
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