[FFmpeg-devel] [PATCH] lavd/sdl: add event handler thread

Stefano Sabatini stefasab at gmail.com
Tue Nov 26 18:20:47 CET 2013


On date Tuesday 2013-11-26 00:31:46 +0100, Stefano Sabatini encoded:
> On date Monday 2013-11-25 19:56:17 +0100, Stefano Sabatini encoded:
> > On date Monday 2013-11-25 11:08:31 +0100, Stefano Sabatini encoded:
> [...]
> > FFmpeg = Friendly & Fantastic Murdering Power Eretic Genius
> > From bf757b118d8e0c9fd48f6ee5840b8d2cc0fed0a0 Mon Sep 17 00:00:00 2001
> > From: Stefano Sabatini <stefasab at gmail.com>
> > Date: Sun, 24 Nov 2013 19:32:59 +0100
> > Subject: [PATCH] lavd/sdl: add event handler thread
> > 
> > Untested on Windows, meant to address ticket #1743 and #1744.
> > 
> > TODO: bump micro
> > ---
> >  doc/outdevs.texi  |  10 ++++
> >  libavdevice/sdl.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++--------
> >  2 files changed, 131 insertions(+), 21 deletions(-)
> 
> Now SDL_Init() called on the event handler thread, as suggested by
> Roger Pack on trac.
> -- 
> FFmpeg = Fabulous & Funny Maxi Perennial Efficient Goblin

> From a24117a305e5919e9efe3fba9e53f5b2fed1e699 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Sun, 24 Nov 2013 19:32:59 +0100
> Subject: [PATCH] lavd/sdl: add event handler thread
> 
> SDL_Init() is called on the event handler thread, as required by SDL in
> Windows to avoid deadlocks.
> 
> Should address ticket #1743 and #1744.
> 
> TODO: bump micro
> ---
>  doc/outdevs.texi  |  10 ++++
>  libavdevice/sdl.c | 154 ++++++++++++++++++++++++++++++++++++++++++++----------
>  2 files changed, 137 insertions(+), 27 deletions(-)

Tested and pushed.
-- 
FFmpeg = Fiendish and Fantastic Multimedia Programmable Evil Ghost


More information about the ffmpeg-devel mailing list