]> git.sesse.net Git - vlc/commit
playlist: repair playlist order on shuffle (fix #4857)
authorMax Dilipovich <repmovs@gmail.com>
Fri, 11 Apr 2014 19:05:19 +0000 (23:05 +0400)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 13 Apr 2014 18:10:10 +0000 (20:10 +0200)
commita73ff93d23d4e20e2966c07f2d669087d97891b2
treed507eea9c3bfe99bd6efdaa163d7b664d698ab85
parentd87dbcb0c9e47acb02d20cfe71009702d57af1a9
playlist: repair playlist order on shuffle (fix #4857)

Selecting first item to play in random mode as null, the old method
was giving a random item at a random position which resulted in only a
part of the queue playing. If we set first item to NULL, playlist
automaticaly selects first item from the reshuffled queue in the
request processing loop.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/playlist/item.c