correctly change duration if it changes
This commit is contained in:
parent
dc608c0743
commit
3bb1102127
1 changed files with 1 additions and 0 deletions
1
epg.c
1
epg.c
|
@ -366,6 +366,7 @@ epg_update_event_by_id(th_channel_t *ch, uint16_t event_id,
|
|||
|
||||
TAILQ_REMOVE(&ch->ch_epg_events, e, e_link);
|
||||
|
||||
e->e_duration = duration;
|
||||
e->e_start = start;
|
||||
TAILQ_INSERT_SORTED(&ch->ch_epg_events, e, e_link, startcmp);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue