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/dvbin.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/dvbin.h')
-rw-r--r-- | stream/dvbin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h index 0b2cc27537..61bc0b1e18 100644 --- a/stream/dvbin.h +++ b/stream/dvbin.h @@ -65,6 +65,7 @@ typedef struct { int tpid, dpid1, dpid2, progid, ca, pids[DMX_FILTER_SIZE], pids_cnt; bool is_dvb_s2; int stream_id; + int service_id; fe_spectral_inversion_t inv; fe_modulation_t mod; fe_transmit_mode_t trans; |