From f309ecebe5da1eb7daa93a2b8bda3e956d8ebfec Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sun, 4 Jan 2015 23:22:02 +0100 Subject: stream_dvb: Also demux PMT if possible, reactivate TPID parsing. If VDR-channel-config is used, we know the service_id. Using that, PMT can be extracted from PAT (code for that inspired by szap-s2 again). For this, we need to demux PAT with a special filter-setup, and once PMT was found it can be added to the PID-list. PMT is only resolved the first time one tunes to a channel, then stored in the channel-list in memory. With PMT available, ffmpeg can safely decode the teletext-pids. --- stream/dvb_tune.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/dvb_tune.h') diff --git a/stream/dvb_tune.h b/stream/dvb_tune.h index 2d2f4e6589..50c598f810 100644 --- a/stream/dvb_tune.h +++ b/stream/dvb_tune.h @@ -27,6 +27,7 @@ int dvb_get_tuner_type(int fe_fd, struct mp_log *log); int dvb_open_devices(dvb_priv_t *priv, int n, int demux_cnt); int dvb_fix_demuxes(dvb_priv_t *priv, int cnt); int dvb_set_ts_filt(dvb_priv_t *priv, int fd, uint16_t pid, dmx_pes_type_t pestype); +int dvb_get_pmt_pid(dvb_priv_t *priv, int card, int service_id); int dvb_demux_stop(int fd); int dvb_demux_start(int fd); int dvb_tune(dvb_priv_t *priv, int freq, char pol, int srate, int diseqc, -- cgit v1.2.3