From: Jaroslav Kysela Date: Fri, 18 Apr 2014 15:05:11 +0000 (+0200) Subject: SAT>IP : Fix satip_frontend_is_free.. X-Git-Tag: v4.1~2115^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcb5ee367f50286dfbcd16db87fdbe28e794abd6;p=thirdparty%2Ftvheadend.git SAT>IP : Fix satip_frontend_is_free.. --- diff --git a/src/input/mpegts/satip/satip_frontend.c b/src/input/mpegts/satip/satip_frontend.c index 756908f78..190e31dfa 100644 --- a/src/input/mpegts/satip/satip_frontend.c +++ b/src/input/mpegts/satip/satip_frontend.c @@ -249,12 +249,8 @@ const idclass_t satip_frontend_dvbc_class = static int satip_frontend_is_free ( mpegts_input_t *mi ) { - satip_device_t *sd = ((satip_frontend_t*)mi)->sf_device; - satip_frontend_t *lfe; - TAILQ_FOREACH(lfe, &sd->sd_frontends, sf_link) - if (!mpegts_input_is_free((mpegts_input_t*)lfe)) - return 0; - return 1; + /* TODO: Add some RTSP live checks here */ + return mpegts_input_is_free(mi); } static int