[vlc-commits] playlist: remove incorrect comment

Romain Vimont git at videolan.org
Tue Jan 8 13:32:17 CET 2019


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Tue Nov 27 10:55:37 2018 +0100| [57805af4b32ca8b24db432791dd5898f4089441f] | committer: Thomas Guillem

playlist: remove incorrect comment

The player behavior has changed since this comment was written, now the
on_current_media_changed callback is called even on SetCurrentItem().

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 src/playlist/player.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/playlist/player.c b/src/playlist/player.c
index d34addf01f..bbdc39ba0e 100644
--- a/src/playlist/player.c
+++ b/src/playlist/player.c
@@ -31,8 +31,6 @@
 #include "playlist.h"
 #include "preparse.h"
 
-/* called when the current media has changed _automatically_ (not on
- * SetCurrentItem) */
 static void
 player_on_current_media_changed(vlc_player_t *player, input_item_t *new_media,
                                 void *userdata)



More information about the vlc-commits mailing list