Find the playlist once *before* starting.
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 1 Oct 2007 15:31:09 +0000 (15:31 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 1 Oct 2007 15:31:09 +0000 (15:31 +0000)
commit605665e6d22c12146f84c092185d703807b72c88
tree2a5cfef0912aba96a8f411080c3010d9b2dfb686
parentdfb23d2723849e8eba549293678f8fbc5ed76c3a
Find the playlist once *before* starting.
LibVLC always creates the (singleton) playlist before the interfaces anyway.
Besides, the HTTP interface callbacks assumes the playlist is yield.
This removes one of two reasons for running the damn HTTP interface thread.
modules/control/http/http.c