Re: [FFmpeg-devel] [PATCH WIP 1/2] ffplay: convert ffplay to use SDL2

2016-05-17 Thread Josh de Kock
On 17/05/2016 21:47, Marton Balint wrote: > > On Tue, 17 May 2016, Josh de Kock wrote: > >> From: Marton Balint >> >> This patch looks mostly fine, there's just one thing though, which is >> the ALSA fix using envvars. There doesn't seem to be a replacement for >> these functions in SDL2, so I w

Re: [FFmpeg-devel] [PATCH WIP 1/2] ffplay: convert ffplay to use SDL2

2016-05-17 Thread Marton Balint
On Tue, 17 May 2016, Josh de Kock wrote: From: Marton Balint This patch looks mostly fine, there's just one thing though, which is the ALSA fix using envvars. There doesn't seem to be a replacement for these functions in SDL2, so I was wondering how else it could be done. SDL_setenv is ther

[FFmpeg-devel] [PATCH WIP 1/2] ffplay: convert ffplay to use SDL2

2016-05-17 Thread Josh de Kock
From: Marton Balint This patch looks mostly fine, there's just one thing though, which is the ALSA fix using envvars. There doesn't seem to be a replacement for these functions in SDL2, so I was wondering how else it could be done. Maybe through putenv()? --- configure | 27 ++- ffplay.c | 59