[vlc-commits] v4l2: copy header (with minor changes) from Linux 3.5

Rémi Denis-Courmont git at videolan.org
Tue Sep 4 15:09:36 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep  4 16:07:07 2012 +0300| [5d498a3966b84cd699b0e52d160fe6b2de293ef9] | committer: Rémi Denis-Courmont

v4l2: copy header (with minor changes) from Linux 3.5

As agreed last week with upstream, that's basicailly the least insane
way to deal with the ever changing and expanding V4L2 API. This allows
compiling VLC with old Linux headers and run it well on a new Linux
kernel. This also avoids a pile of backward compatibility hacks.

A few other userspace tool already copy videodev2.h like that.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d498a3966b84cd699b0e52d160fe6b2de293ef9
---

 configure.ac                    |    8 -
 modules/access/Modules.am       |    1 +
 modules/access/v4l2/controls.c  |   20 +-
 modules/access/v4l2/demux.c     |    2 -
 modules/access/v4l2/v4l2.c      |    2 -
 modules/access/v4l2/v4l2.h      |   41 +-
 modules/access/v4l2/video.c     |    6 +-
 modules/access/v4l2/videodev2.h | 2648 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 2653 insertions(+), 75 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=5d498a3966b84cd699b0e52d160fe6b2de293ef9


More information about the vlc-commits mailing list