}
return 0;
}
-
-int channel_multi_services_active(const channel_t *ch)
-{
- const idnode_list_mapping_t *ilm;
- const service_t *service;
- int cnt = 0;
- if (!ch) return 0;
- LIST_FOREACH(ilm, &ch->ch_services, ilm_in2_link) {
- service = (const service_t*)ilm->ilm_in1;
- if (service->s_enabled) {
- if (++cnt > 1)
- return 1;
- }
- }
- return 0;
-}
channel_tag_t **channel_tag_get_sorted_list
( const char *sort_type, int *_count );
int channel_has_correct_service_filter(const channel_t *ch, int svf);
-int channel_multi_services_active(const channel_t *ch);
#endif /* CHANNELS_H */
break;
case SMT_STOP:
- if((mux->m_caps & MC_CAP_ANOTHER_SERVICE) != 0 &&
- channel_multi_services_active(s->ths_channel))
+ if((mux->m_caps & MC_CAP_ANOTHER_SERVICE) != 0) /* give a chance to use another svc */
break;
if(sm->sm_code != SM_CODE_SOURCE_RECONFIGURED) {
tvhwarn(LS_WEBUI, "Stop streaming %s, %s", hc->hc_url_orig,