Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
719bc6ed
Commit
719bc6ed
authored
Jan 23, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSS access: don't choke on EINTR
(cherry picked from commit 0169865b68c30b1505beae2489f8f08e9619a337)
parent
059e3fc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/access/oss.c
modules/access/oss.c
+3
-0
No files found.
modules/access/oss.c
View file @
719bc6ed
...
...
@@ -38,6 +38,7 @@
#include <vlc_demux.h>
#include <vlc_fs.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
...
...
@@ -272,6 +273,8 @@ static int Demux( demux_t *p_demux )
/* Wait for data */
if
(
poll
(
&
fd
,
1
,
10
)
)
/* Timeout after 0.01 seconds. Bigger delays are an issue when used with/as an input-slave since all the inputs run in the same thread. */
{
if
(
errno
==
EINTR
)
continue
;
if
(
fd
.
revents
&
(
POLLIN
|
POLLPRI
)
)
{
p_block
=
GrabAudio
(
p_demux
);
...
...
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