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
08ccf731
Commit
08ccf731
authored
Apr 13, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2: do not poll for POLLPRI
We do not dequeue those events. That could cause busy loops.
parent
65d36285
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/access/v4l2/access.c
modules/access/v4l2/access.c
+1
-1
modules/access/v4l2/demux.c
modules/access/v4l2/demux.c
+2
-2
No files found.
modules/access/v4l2/access.c
View file @
08ccf731
...
...
@@ -218,7 +218,7 @@ static block_t *AccessRead( access_t *access )
struct
pollfd
fd
;
fd
.
fd
=
sys
->
fd
;
fd
.
events
=
POLLIN
|
POLLPRI
;
fd
.
events
=
POLLIN
;
fd
.
revents
=
0
;
/* Wait for data */
...
...
modules/access/v4l2/demux.c
View file @
08ccf731
...
...
@@ -488,7 +488,7 @@ static void *StreamThread (void *data)
struct
pollfd
ufd
[
1
];
ufd
[
0
].
fd
=
fd
;
ufd
[
0
].
events
=
POLLIN
|
POLLPRI
;
ufd
[
0
].
events
=
POLLIN
;
for
(;;)
{
...
...
@@ -523,7 +523,7 @@ static void *ReadThread (void *data)
struct
pollfd
ufd
[
1
];
ufd
[
0
].
fd
=
fd
;
ufd
[
0
].
events
=
POLLIN
|
POLLPRI
;
ufd
[
0
].
events
=
POLLIN
;
for
(;;)
{
...
...
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