]> git.sesse.net Git - vlc/blobdiff - src/control/playlist.c
Changed playlist_AddExt to be more consistant with input_item_NewWithType.
[vlc] / src / control / playlist.c
index e66e4019a419fcaf29952c0c59b652007ce425ef..3764c677684ca7e4f690ac09bf730ffd9dc37eb6 100644 (file)
@@ -171,8 +171,9 @@ int libvlc_playlist_add_extended( libvlc_instance_t *p_instance,
         return VLC_EGENERIC;
     }
     return playlist_AddExt( PL, psz_uri, psz_name,
-                            PLAYLIST_INSERT, PLAYLIST_END, -1, ppsz_options,
-                            i_options, 1, pl_Unlocked );
+                            PLAYLIST_INSERT, PLAYLIST_END, -1,
+                            i_options, ppsz_options, VLC_INPUT_OPTION_TRUSTED,
+                            true, pl_Unlocked );
 }