diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2015-01-04 23:22:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-06 19:52:27 +0100 |
commit | f309ecebe5da1eb7daa93a2b8bda3e956d8ebfec (patch) | |
tree | 52b367e68d1f6bd87c293ce5155950919b62b21e /stream/dvb_tune.h | |
parent | ef463aa1038eec1bf01216f87b1681fdf4973793 (diff) | |
download | mpv-f309ecebe5da1eb7daa93a2b8bda3e956d8ebfec.tar.bz2 mpv-f309ecebe5da1eb7daa93a2b8bda3e956d8ebfec.tar.xz |
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.
Diffstat (limited to 'stream/dvb_tune.h')
-rw-r--r-- | stream/dvb_tune.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |