GNOME Bugzilla – Bug 701595
Latest GIT version of v4l2src fails to compile on older kernels
Last modified: 2013-06-04 15:04:49 UTC
The v4l2src source code in git has started unconditionally using V4L2_CTRL_TYPE_BITMASK, a recently-introduced control type in the v4l2 kernel driver. As a result, the source fails to compile on versions of the kernel prior to that symbol's introduction.
As a result the element cannot be built on kernels as recent as 2.6.32.
Created attachment 246011 [details] [review]
Rather than just complaining, I took a look and the issue is trivial to solve. Here's a proposed patch (which I hope I did correctly. I don't often build patches).
Author: Stirling Westrup <email@example.com>
Date: Tue Jun 4 17:04:11 2013 +0200
v4l2: Fix compilation with older kernels