[FFmpeg-devel] [PATCH WIP 0/2] Update usage of SDL1 library to SDL2

Josh de Kock josh at itanimul.li
Tue May 17 19:00:21 CEST 2016


Hi,

I'm trying to update the usages of SDL1 to SDL2 so that they can
follow the new library, as the last version was released in 2013,
and is probably becoming a bit stale. While this should be a
fairly simple patch (for others), I'm having a little trouble with
it, and it was suggested that I post a WIP patch on the mailing
list.
 
I have a couple questions regarding my patches, I've included the
more general ones here, and then the ones which are more specific
to their respective patches.

Should I be replacing sdl.c instead of creating sdl2.c? This comes
under a more semantic question: should it be called SDL2? I think
that it should, as it gives it more clarity, and this is what has
been used to refer to it on the internet, at least as far as I can
tell. This might help when installing the correct version of the
library (SDL), and for searching documentation etc.

Note that the first patch isn't mine, it's Marton Balint's, I've
just included it because my patch requries it.

Thanks,
Josh


 configure                |  27 ++-
 ffplay.c                 | 595 ++++++++++++++++++++---------------------------
 libavdevice/Makefile     |   1 +
 libavdevice/alldevices.c |   1 +
 libavdevice/sdl2.c       | 437 ++++++++++++++++++++++++++++++++++
 5 files changed, 709 insertions(+), 352 deletions(-)


More information about the ffmpeg-devel mailing list