Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d8ddcbff
Commit
d8ddcbff
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
parent
94d12698
Changes
1
Show 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 @
d8ddcbff
...
@@ -261,9 +261,17 @@ static int TPDURecv( access_t * p_access, uint8_t i_slot, uint8_t *pi_tag,
...
@@ -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
].
fd
=
p_sys
->
i_ca_handle
;
pfd
[
0
].
events
=
POLLIN
;
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
;
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