SAT>IP : Fix satip_frontend_is_free..

This commit is contained in:
Jaroslav Kysela 2014-04-18 17:05:11 +02:00
parent 9f962b7e1b
commit dcb5ee367f

View file

@ -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