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
5980a23b
Commit
5980a23b
authored
Nov 27, 2007
by
Richard Hosking
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: Cosmetics.
parent
6b02aaf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/access/v4l2.c
modules/access/v4l2.c
+8
-8
No files found.
modules/access/v4l2.c
View file @
5980a23b
...
...
@@ -1320,11 +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
p
sz_fourcc
[
5
];
memset
(
&
psz_fourcc
,
0
,
sizeof
(
p
sz_fourcc
)
);
vlc_fourcc_to_char
(
p_sys
->
i_fourcc
,
&
p
sz_fourcc
);
char
sz_fourcc
[
5
];
memset
(
&
sz_fourcc
,
0
,
sizeof
(
sz_fourcc
)
);
vlc_fourcc_to_char
(
p_sys
->
i_fourcc
,
&
sz_fourcc
);
msg_Dbg
(
p_demux
,
"supported frame intervals for %4s, %dx%d:"
,
(
const
char
*
)
&
p
sz_fourcc
,
frmival
.
width
,
frmival
.
height
);
sz_fourcc
,
frmival
.
width
,
frmival
.
height
);
switch
(
frmival
.
type
)
{
case
V4L2_FRMIVAL_TYPE_DISCRETE
:
...
...
@@ -1771,11 +1771,11 @@ vlc_bool_t ProbeVideoDev( demux_t *p_demux, char *psz_device )
{
b_codec_supported
=
VLC_TRUE
;
char
p
sz_fourcc
[
5
];
memset
(
&
psz_fourcc
,
0
,
sizeof
(
p
sz_fourcc
)
);
vlc_fourcc_to_char
(
v4l2chroma_to_fourcc
[
i
].
i_fourcc
,
&
p
sz_fourcc
);
char
sz_fourcc
[
5
];
memset
(
&
sz_fourcc
,
0
,
sizeof
(
sz_fourcc
)
);
vlc_fourcc_to_char
(
v4l2chroma_to_fourcc
[
i
].
i_fourcc
,
&
sz_fourcc
);
msg_Dbg
(
p_demux
,
"device supports chroma %4s [%s]"
,
p
sz_fourcc
,
sz_fourcc
,
p_sys
->
p_codecs
[
i_index
].
description
);
#ifdef VIDIOC_ENUM_FRAMESIZES
...
...
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