[vlc-commits] playlist/item: playlist_Add: fix documentation

Filip Roséen git at videolan.org
Thu May 18 17:51:28 CEST 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu May 18 12:01:12 2017 +0200| [a1008e5d94fe80981dbe470bb67bfd2b3b22557c] | committer: Rémi Denis-Courmont

playlist/item: playlist_Add: fix documentation

The function cannot be used to add media to the media library, as such
the misleading documentation has been altered to reflect the actual
functionality exposed.

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1008e5d94fe80981dbe470bb67bfd2b3b22557c
---

 src/playlist/item.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist/item.c b/src/playlist/item.c
index f7e606b6cb..4df3c3f0d2 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -421,7 +421,7 @@ void playlist_Clear( playlist_t * p_playlist, bool b_locked )
 /**
  * Playlist add
  *
- * Add an item to the playlist or the media library
+ * Add an item to the playlist
  * \param p_playlist the playlist to add into
  * \param psz_uri the mrl to add to the playlist
  * \param play_now whether to start playing immediately or not



More information about the vlc-commits mailing list