X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fservices_discovery%2Fupnp_intel.cpp;h=a65036a014da9ff07d314e40972d44435ba307b2;hb=494ace96d068ee8e4b6b689da0ae469c0c0e4fe3;hp=d269e04c3492624c6ec9cc5710ad384a507376fa;hpb=a518149f3478fc8bc984b114a1821d0fd83cecab;p=vlc diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp index d269e04c34..a65036a014 100644 --- a/modules/services_discovery/upnp_intel.cpp +++ b/modules/services_discovery/upnp_intel.cpp @@ -881,7 +881,7 @@ void MediaServer::_buildPlaylist( Container* parent ) /* FIXME: playlist_AddInput() can fail */ playlist_BothAddInput( p_playlist, p_input, parentNode, PLAYLIST_APPEND, PLAYLIST_END, &i_cat, NULL, - false ); + pl_Unlocked ); vlc_gc_decref( p_input ); /* TODO: do this better by storing ids */ playlist_item_t *p_node = playlist_ItemGetById( p_playlist, i_cat, false );