Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6b02aaf0
Commit
6b02aaf0
authored
Nov 27, 2007
by
Richard Hosking
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings.
parent
5b7fd302
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/access/v4l2.c
modules/access/v4l2.c
+5
-4
No files found.
modules/access/v4l2.c
View file @
6b02aaf0
...
...
@@ -1320,8 +1320,11 @@ int OpenVideoDev( demux_t *p_demux, char *psz_device )
frmival
.
height
=
p_sys
->
i_height
;
if
(
ioctl
(
i_fd
,
VIDIOC_ENUM_FRAMEINTERVALS
,
&
frmival
)
>=
0
)
{
char
psz_fourcc
[
5
];
memset
(
&
psz_fourcc
,
0
,
sizeof
(
psz_fourcc
)
);
vlc_fourcc_to_char
(
p_sys
->
i_fourcc
,
&
psz_fourcc
);
msg_Dbg
(
p_demux
,
"supported frame intervals for %4s, %dx%d:"
,
(
const
char
*
)
&
p
_sys
->
i
_fourcc
,
frmival
.
width
,
frmival
.
height
);
(
const
char
*
)
&
p
sz
_fourcc
,
frmival
.
width
,
frmival
.
height
);
switch
(
frmival
.
type
)
{
case
V4L2_FRMIVAL_TYPE_DISCRETE
:
...
...
@@ -1348,9 +1351,7 @@ int OpenVideoDev( demux_t *p_demux, char *psz_device )
frmival
.
stepwise
.
min
.
numerator
,
frmival
.
stepwise
.
min
.
denominator
,
frmival
.
stepwise
.
max
.
numerator
,
frmival
.
stepwise
.
max
.
denominator
,
frmival
.
stepwise
.
step
.
numerator
,
frmival
.
stepwise
.
step
.
denominator
);
frmival
.
stepwise
.
max
.
denominator
);
break
;
}
}
...
...
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