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
1a0ee7db
Commit
1a0ee7db
authored
May 15, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access/v4l/v4l.c: removed useless warning messages.
parent
3e8d108f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
modules/access/v4l/v4l.c
modules/access/v4l/v4l.c
+4
-7
No files found.
modules/access/v4l/v4l.c
View file @
1a0ee7db
...
...
@@ -1596,14 +1596,11 @@ static int DemuxOpen( vlc_object_t *p_this )
/* a little test to see if it's a v4l stream */
if
(
stream_Peek
(
p_input
->
s
,
&
p_peek
,
8
)
<
8
)
{
msg_Warn
(
p_input
,
"v4l plugin discarded (cannot peek)"
);
return
VLC_EGENERIC
;
}
if
(
strncmp
(
p_peek
,
".v4l"
,
4
)
||
(
i_es
=
GetDWBE
(
&
p_peek
[
4
]
)
)
<=
0
)
if
(
strncmp
(
p_peek
,
".v4l"
,
4
)
||
(
i_es
=
GetDWBE
(
&
p_peek
[
4
]
)
)
<=
0
)
{
msg_Warn
(
p_input
,
"v4l plugin discarded (not a valid stream)"
);
return
VLC_EGENERIC
;
}
...
...
@@ -1612,7 +1609,7 @@ static int DemuxOpen( vlc_object_t *p_this )
{
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
msg_Err
(
p_input
,
"cannot init stream"
);
return
(
VLC_EGENERIC
)
;
return
VLC_EGENERIC
;
}
p_input
->
stream
.
i_mux_rate
=
0
/
50
;
vlc_mutex_unlock
(
&
p_input
->
stream
.
stream_lock
);
...
...
@@ -1636,8 +1633,8 @@ static int DemuxOpen( vlc_object_t *p_this )
if
(
!
strncmp
(
p_peek
,
"auds"
,
4
)
)
{
es_format_Init
(
&
fmt
,
AUDIO_ES
,
VLC_FOURCC
(
p_peek
[
4
],
p_peek
[
5
],
p_peek
[
6
],
p_peek
[
7
]
)
);
es_format_Init
(
&
fmt
,
AUDIO_ES
,
VLC_FOURCC
(
p_peek
[
4
],
p_peek
[
5
],
p_peek
[
6
],
p_peek
[
7
]
)
);
fmt
.
audio
.
i_channels
=
GetDWBE
(
&
p_peek
[
8
]
);
fmt
.
audio
.
i_rate
=
GetDWBE
(
&
p_peek
[
12
]
);
...
...
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