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
57d784d7
Commit
57d784d7
authored
Jun 30, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2 access: remove polling timer
parent
bf6dcb5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
12 deletions
+2
-12
modules/access/v4l2/access.c
modules/access/v4l2/access.c
+2
-12
No files found.
modules/access/v4l2/access.c
View file @
57d784d7
...
...
@@ -33,6 +33,7 @@
#include <vlc_common.h>
#include <vlc_access.h>
#include <vlc_interrupt.h>
#include "v4l2.h"
...
...
@@ -204,18 +205,7 @@ static int AccessPoll (access_t *access)
ufd
.
fd
=
sys
->
fd
;
ufd
.
events
=
POLLIN
;
switch
(
poll
(
&
ufd
,
1
,
500
))
{
case
-
1
:
if
(
errno
==
EINTR
)
case
0
:
/* FIXME: kill this case (arbitrary timeout) */
return
-
1
;
msg_Err
(
access
,
"poll error: %s"
,
vlc_strerror_c
(
errno
));
access
->
info
.
b_eof
=
true
;
return
-
1
;
}
return
0
;
return
vlc_poll_i11e
(
&
ufd
,
1
,
-
1
);
}
...
...
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