Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP: break TEARDOWN poll loop also on ERROR or HUP
  • Loading branch information
perexg committed Aug 29, 2014
1 parent 9eea481 commit 24171eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -1270,6 +1270,8 @@ satip_frontend_input_thread ( void *aux )
continue;
break;
}
if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP))
break;
}
}
/* for sure - the second sequence */
Expand All @@ -1289,6 +1291,8 @@ satip_frontend_input_thread ( void *aux )
continue;
break;
}
if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP))
break;
}
}
}
Expand Down

0 comments on commit 24171eb

Please sign in to comment.