[vlc-devel] commit: Fixed a race condition with input creation and events. ( Laurent Aimar )

git version control git at videolan.org
Fri May 8 02:13:00 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri May  8 02:03:05 2009 +0200| [80684e7846b29534eab9d1844e77516efbc42055] | committer: Laurent Aimar 

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.

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

 include/vlc_input.h                  |   67 ++++---
 modules/services_discovery/podcast.c |   28 ++-
 src/control/media_player.c           |   14 +-
 src/input/input.c                    |  362 ++++++++++++++++++----------------
 src/input/input_interface.h          |    7 -
 src/input/vlm.c                      |   17 +-
 src/libvlccore.sym                   |    6 +-
 src/playlist/item.c                  |    2 +-
 src/playlist/thread.c                |   15 +-
 9 files changed, 283 insertions(+), 235 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=80684e7846b29534eab9d1844e77516efbc42055



More information about the vlc-devel mailing list