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
bd23dee8
Commit
bd23dee8
authored
Apr 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: work around missing V4L2_IN_CAP_STD on old kernels
parent
e466c827
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/access/v4l2/video.c
modules/access/v4l2/video.c
+4
-0
No files found.
modules/access/v4l2/video.c
View file @
bd23dee8
...
...
@@ -516,11 +516,15 @@ static v4l2_std_id var_InheritStandard (vlc_object_t *obj, const char *varname)
static
int
SetupStandard
(
vlc_object_t
*
obj
,
int
fd
,
const
struct
v4l2_input
*
restrict
input
)
{
#ifdef V4L2_IN_CAP_STD
if
(
!
(
input
->
capabilities
&
V4L2_IN_CAP_STD
))
{
msg_Dbg
(
obj
,
"no video standard selection"
);
return
0
;
}
#else
msg_Dbg
(
obj
,
"video standard selection unknown"
);
#endif
v4l2_std_id
std
=
var_InheritStandard
(
obj
,
CFG_PREFIX
"standard"
);
if
(
std
==
V4L2_STD_UNKNOWN
)
...
...
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