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
059e3fc5
Commit
059e3fc5
authored
Jan 23, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DVB CAM: don't choke on EINTR
(cherry picked from commit d8ddcbff798c8927bdc2656a74a5862386320ee9)
parent
2821777b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/access/dvb/en50221.c
modules/access/dvb/en50221.c
+10
-2
No files found.
modules/access/dvb/en50221.c
View file @
059e3fc5
...
...
@@ -261,9 +261,17 @@ static int TPDURecv( access_t * p_access, uint8_t i_slot, uint8_t *pi_tag,
pfd
[
0
].
fd
=
p_sys
->
i_ca_handle
;
pfd
[
0
].
events
=
POLLIN
;
if
(
!
(
poll
(
pfd
,
1
,
CAM_READ_TIMEOUT
)
>
0
&&
(
pfd
[
0
].
revents
&
POLLIN
))
)
while
(
poll
(
pfd
,
1
,
CAM_READ_TIMEOUT
)
==
-
1
)
if
(
errno
!=
EINTR
)
{
msg_Err
(
p_access
,
"poll error: %m"
);
return
VLC_EGENERIC
;
}
if
(
!
(
pfd
[
0
].
revents
&
POLLIN
)
)
{
msg_Err
(
p_access
,
"
cannot poll from CAM device
"
);
msg_Err
(
p_access
,
"
CAM device poll time-out
"
);
return
VLC_EGENERIC
;
}
...
...
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