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
23e37d85
Commit
23e37d85
authored
Oct 31, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error message for v4l2.
parent
cacd39b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/access/v4l2.c
modules/access/v4l2.c
+2
-2
No files found.
modules/access/v4l2.c
View file @
23e37d85
...
...
@@ -871,7 +871,7 @@ static block_t* ProcessVideoFrame( demux_t *p_demux, uint8_t *p_frame )
block_t
*
p_block
;
if
(
!
p_frame
)
return
0
;
/* New block */
if
(
!
(
p_block
=
block_New
(
p_demux
,
p_sys
->
i_video_frame_size
)
)
)
{
...
...
@@ -1245,7 +1245,7 @@ int OpenVideoDev( demux_t *p_demux, char *psz_device )
/* Try and set user chroma */
if
(
!
IsChromaSupported
(
p_demux
,
fmt
.
fmt
.
pix
.
pixelformat
)
||
(
fmt
.
fmt
.
pix
.
pixelformat
&&
ioctl
(
i_fd
,
VIDIOC_S_FMT
,
&
fmt
)
<
0
)
)
{
msg_Warn
(
p_demux
,
"Driver is unable to use specified chroma
. Using defaults."
);
msg_Warn
(
p_demux
,
"Driver is unable to use specified chroma
%4.4s. Using defaults."
,
(
char
*
)
&
fmt
.
fmt
.
pix
.
pixelformat
);
fmt
.
fmt
.
pix
.
pixelformat
=
0
;
}
}
...
...
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