X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Flibvlc.c;h=22d1183918bb2f47ffebb467dc10ce5a8ad03af2;hb=494ace96d068ee8e4b6b689da0ae469c0c0e4fe3;hp=b10d13e1727fbadabe2ac253f19a4423c4894596;hpb=a518149f3478fc8bc984b114a1821d0fd83cecab;p=vlc diff --git a/src/libvlc.c b/src/libvlc.c index b10d13e172..22d1183918 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -962,7 +962,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, { playlist_t *p_playlist = pl_Yield( p_libvlc ); playlist_AddExt( p_playlist, val.psz_string, NULL, PLAYLIST_INSERT, 0, - -1, NULL, 0, true, false ); + -1, NULL, 0, true, pl_Unlocked ); pl_Release( p_libvlc ); } free( val.psz_string ); @@ -1295,7 +1295,7 @@ static int GetFilenames( libvlc_int_t *p_vlc, int i_argc, const char *ppsz_argv[ playlist_t *p_playlist = pl_Yield( p_vlc ); playlist_AddExt( p_playlist, ppsz_argv[i_opt], NULL, PLAYLIST_INSERT, 0, -1, ( i_options ? &ppsz_argv[i_opt + 1] : NULL ), - i_options, true, false ); + i_options, true, pl_Unlocked ); pl_Release( p_vlc ); }