From 24171eb3d6f2f26d83b9fa59e8e3b559805be0db Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 29 Aug 2014 16:10:52 +0200 Subject: [PATCH] SAT>IP: break TEARDOWN poll loop also on ERROR or HUP --- src/input/mpegts/satip/satip_frontend.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/mpegts/satip/satip_frontend.c b/src/input/mpegts/satip/satip_frontend.c index b4d39339..763280d5 100644 --- a/src/input/mpegts/satip/satip_frontend.c +++ b/src/input/mpegts/satip/satip_frontend.c @@ -1270,6 +1270,8 @@ fast_exit: continue; break; } + if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP)) + break; } } /* for sure - the second sequence */ @@ -1289,6 +1291,8 @@ fast_exit: continue; break; } + if(ev[0].events & (TVHPOLL_ERR | TVHPOLL_HUP)) + break; } } }