Rename 'tht_pmt' to 'tht_pmt_pid' for consistency.

This commit is contained in:
Andreas Öman 2008-09-05 16:54:23 +00:00
parent d284c39739
commit 77062a5425
3 changed files with 4 additions and 4 deletions

View file

@ -416,7 +416,7 @@ dvb_adapter_clone(th_dvb_adapter_t *dst, th_dvb_adapter_t *src)
LIST_FOREACH(t_src, &tdmi_src->tdmi_transports, tht_mux_link) {
t_dst = dvb_transport_find(tdmi_dst,
t_src->tht_dvb_service_id,
t_src->tht_pmt,
t_src->tht_pmt_pid,
NULL);
t_dst->tht_pcr_pid = t_src->tht_pcr_pid;

View file

@ -227,7 +227,7 @@ dvb_transport_save(th_transport_t *t)
lock_assert(&global_lock);
htsmsg_add_u32(m, "service_id", t->tht_dvb_service_id);
htsmsg_add_u32(m, "pmt", t->tht_pmt);
htsmsg_add_u32(m, "pmt", t->tht_pmt_pid);
htsmsg_add_u32(m, "stype", t->tht_servicetype);
htsmsg_add_u32(m, "scrambled", t->tht_scrambled);
@ -332,7 +332,7 @@ dvb_transport_find(th_dvb_mux_instance_t *tdmi, uint16_t sid, int pmt_pid,
t = transport_create(tmp, TRANSPORT_DVB, THT_MPEG_TS);
t->tht_dvb_service_id = sid;
t->tht_pmt = pmt_pid;
t->tht_pmt_pid = pmt_pid;
t->tht_start_feed = dvb_transport_start;
t->tht_stop_feed = dvb_transport_stop;

View file

@ -400,7 +400,7 @@ typedef struct th_transport {
/**
* PID for the PMT of this MPEG-TS stream.
*/
uint16_t tht_pmt;
uint16_t tht_pmt_pid;
/**
* Set if transport is disabled. If disabled it should not be