Fix #1679 - correct mistake in previous changes to stop constant IO
TSID was not being properly updated, which could result in missing
services.
(cherry picked from commit 8bceacd969
)
This commit is contained in:
parent
0e7c0b2984
commit
4af6cbef60
1 changed files with 3 additions and 1 deletions
|
@ -882,6 +882,8 @@ dvb_mux_set_tsid(th_dvb_mux_instance_t *tdmi, uint16_t tsid, int force)
|
|||
if (tdmi->tdmi_transport_stream_id == tsid)
|
||||
return;
|
||||
|
||||
tdmi->tdmi_transport_stream_id = tsid;
|
||||
|
||||
dvb_mux_save(tdmi);
|
||||
|
||||
m = htsmsg_create_map();
|
||||
|
@ -898,7 +900,7 @@ dvb_mux_set_onid(th_dvb_mux_instance_t *tdmi, uint16_t onid, int force)
|
|||
{
|
||||
htsmsg_t *m;
|
||||
|
||||
if (force)
|
||||
if (!force)
|
||||
if (tdmi->tdmi_network_id != 0 || onid == 0)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue