lavd/sdl: add event handler thread

Multimedia / FFmpeg - Stefano Sabatini [gmail.com] - 26 November 2013 11:14 UTC

SDL_Init() is called on the event handler thread, as required by SDL in Windows to avoid deadlocks as discovered by Roger Pack.

Fix trac ticket #1743 and #1744.

7de3b13 lavd/sdl: add event handler thread
doc/outdevs.texi | 10 ++++
libavdevice/sdl.c | 154 ++++++++++++++++++++++++++++++++++++++++---------
libavdevice/version.h | 2 +-
3 files changed, 138 insertions(+), 28 deletions(-)

  • Share