vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Oct 3 18:49:48 2011 +0300| [29cec1c355a00cf6e997bc9928fa577439380734] | committer: Rémi Denis-Courmont
Work-around V4L2 headers version 2.6.32-2.6.34 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29cec1c355a00cf6e997bc9928fa577439380734 --- modules/access/v4l2/v4l2.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/modules/access/v4l2/v4l2.h b/modules/access/v4l2/v4l2.h index a96abee..f86e3be 100644 --- a/modules/access/v4l2/v4l2.h +++ b/modules/access/v4l2/v4l2.h @@ -38,6 +38,13 @@ # if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0) # define V4L2_CTRL_TYPE_BITMASK 8 # endif +# if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) +# define V4L2_CID_CHROMA_GAIN (V4L2_CID_BASE+36) +# endif +# if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) +# define V4L2_CID_ROTATE (V4L2_CID_BASE+34) +# define V4L2_CID_BG_COLOR (V4L2_CID_BASE+35) +# endif #endif #ifdef HAVE_LIBV4L2 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
