Fixed a race condition with input creation and events.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 8 May 2009 00:03:05 +0000 (02:03 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 8 May 2009 00:12:39 +0000 (02:12 +0200)
commit80684e7846b29534eab9d1844e77516efbc42055
tree9ea011f81d09b95521b6864c41aa4b8f54bf8c73
parenta135b02fd5d99c9ae07bca53bee6c492c709e744
Fixed a race condition with input creation and events.

input_CreateThread* have been splitted in two functions:
 - input_Create
 - input_Start
to allow attaching to input events and creating settings/variables
before starting the input thread.

For consistency, input_StopThread has been renamed input_Stop.

Initial report from Hugo Beauzee-Luyssen.
include/vlc_input.h
modules/services_discovery/podcast.c
src/control/media_player.c
src/input/input.c
src/input/input_interface.h
src/input/vlm.c
src/libvlccore.sym
src/playlist/item.c
src/playlist/thread.c