Lines Matching refs:pmt_pid
3096 int sid, pmt_pid; in pat_cb() local
3120 pmt_pid = get16(&p, p_end); in pat_cb()
3121 if (pmt_pid < 0) in pat_cb()
3123 pmt_pid &= 0x1fff; in pat_cb()
3125 if (pmt_pid == ts->current_pid) in pat_cb()
3128 av_log(ts->stream, AV_LOG_TRACE, "sid=0x%x pid=0x%x\n", sid, pmt_pid); in pat_cb()
3133 MpegTSFilter *fil = ts->pids[pmt_pid]; in pat_cb()
3138 program->pmt_pid = pmt_pid; in pat_cb()
3142 || fil->pid != pmt_pid in pat_cb()
3144 mpegts_close_filter(ts, ts->pids[pmt_pid]); in pat_cb()
3146 if (!ts->pids[pmt_pid]) in pat_cb()
3147 mpegts_open_section_filter(ts, pmt_pid, pmt_cb, ts, 1); in pat_cb()
3151 if (prg->nb_pids && prg->pids[0] != pmt_pid) in pat_cb()
3153 add_pid_to_program(prg, pmt_pid); in pat_cb()