Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9b49f7c9
Commit
9b49f7c9
authored
Apr 07, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: update headers version check
parent
3359912d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
modules/access/v4l2/v4l2.h
modules/access/v4l2/v4l2.h
+8
-6
No files found.
modules/access/v4l2/v4l2.h
View file @
9b49f7c9
...
...
@@ -18,17 +18,19 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(HAVE_LINUX_VIDEODEV2_H)
#
include <linux/videodev2.h>
#elif defined(HAVE_SYS_VIDEOIO_H)
#
include <sys/videoio.h>
#if defined
(HAVE_LINUX_VIDEODEV2_H)
# include <linux/videodev2.h>
#elif defined
(HAVE_SYS_VIDEOIO_H)
# include <sys/videoio.h>
#else
# error "No Video4Linux2 headers found."
# error "No Video4Linux2 headers found."
#endif
#ifndef V4L2_CAP_DEVICE_CAPS
# warning Please update Video4Linux2 headers!
#endif
/* Hacks to compile with old headers */
#ifndef V4L2_CTRL_FLAG_VOLATILE
/* 3.2 */
# warning Please update Video4Linux2 headers!
# define V4L2_CTRL_FLAG_VOLATILE 0x0080
# define V4L2_CID_POWER_LINE_FREQUENCY_AUTO 3
# define V4L2_STD_G (V4L2_STD_PAL_G|V4L2_STD_SECAM_G)
...
...
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