SAT>IP : Fix satip_frontend_is_free..
This commit is contained in:
parent
9f962b7e1b
commit
dcb5ee367f
1 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue