Re: [FFmpeg-devel] [PATCH v4 1/3] lavd: Add SDL2 output device

2016-09-11 Thread Moritz Barsnick
On Sun, Sep 11, 2016 at 21:46:58 +0100, Josh de Kock wrote: > +{ "window_fullscreen", "set SDL window fullscreen", > OFFSET(window_fullscreen), AV_OPT_TYPE_BOOL, { .i64 = 0 }, INT_MIN, INT_MAX, > AV_OPT_FLAG_ENCODING_PARAM }, > +{ "window_borderless", "set SDL window border off", > OFFSE

Re: [FFmpeg-devel] [PATCH v4 1/3] lavd: Add SDL2 output device

2016-09-11 Thread Stephen Hutchinson
On 9/11/2016 4:46 PM, Josh de Kock wrote: -if ! disabled sdl; then +if ! disabled sdl && ! enabled sdl2; then SDL_CONFIG="${cross_prefix}sdl-config" if check_pkg_config sdl SDL_events.h SDL_PollEvent; then check_cpp_condition SDL.h "(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8

Re: [FFmpeg-devel] [PATCH v4 1/3] lavd: Add SDL2 output device

2016-09-11 Thread Paul B Mahol
On 9/11/16, Josh de Kock wrote: > Integrated comments from Moritz Barsnick. > > Acked-by: Michael Niedermayer > Signed-off-by: Josh de Kock > --- > configure| 25 +++- > libavdevice/Makefile | 1 + > libavdevice/alldevices.c | 1 + > libavdevice/sdl2.c | 373 >