Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ba35f732
Commit
ba35f732
authored
Oct 03, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L2_CTRL_FLAG_VOLATILE is in Linux 3.2, not 3.1
parent
badd331a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/access/v4l2/v4l2.h
modules/access/v4l2/v4l2.h
+4
-2
No files found.
modules/access/v4l2/v4l2.h
View file @
ba35f732
...
...
@@ -31,11 +31,13 @@
/* Hacks to compile with old headers */
#ifdef __linux__
# include <linux/version.h>
# if LINUX_VERSION_CODE < KERNEL_VERSION(3,
1
,0)
# if LINUX_VERSION_CODE < KERNEL_VERSION(3,
2
,0)
# warning Please update Video4Linux2 headers!
# define V4L2_CTRL_TYPE_BITMASK 8
# define V4L2_CTRL_FLAG_VOLATILE 0x0080
# endif
# if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
# define V4L2_CTRL_TYPE_BITMASK 8
# endif
#endif
#ifdef HAVE_LIBV4L2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment