playlist: preserve first item when enabling random mode
commita5a428df27a4752a79c503bbe14ce3d67c76b777
authorEdward Wang <edward.c.wang@compdigitec.com>
Sat, 26 May 2012 03:48:19 +0000 (25 23:48 -0400)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 27 May 2012 06:41:42 +0000 (27 08:41 +0200)
tree8a5395504bf5a9496e52cf3aad10b71f8f1c20ce
parent126d1ccc2c3d3faf6ec8e2bf53bae73273025098
playlist: preserve first item when enabling random mode

Close #4472

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/playlist/engine.c
src/playlist/playlist_internal.h
src/playlist/thread.c