diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2014-12-31 01:57:26 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-06 19:52:27 +0100 |
commit | 0c42484d8e7b064b69d92f209cf2cb082f756b97 (patch) | |
tree | 0dba89225011c1ea010931dfafc10102fa1e9f56 /test | |
parent | bef1893cd586f590bdc237c3b3c732c69d7479f8 (diff) | |
download | mpv-0c42484d8e7b064b69d92f209cf2cb082f756b97.tar.bz2 mpv-0c42484d8e7b064b69d92f209cf2cb082f756b97.tar.xz |
stream_dvb: Very basic vdr-type channels.conf support.
Still incomplete. Initialize is_dvb_s2 boolean in channel-struct.
We first check whether the channels.conf-line at hand is sscanf'able with a vdr-style pattern. If yes, we assume it is a vdr-channel-config (we check whether sscanf consumed the full line).
The vdr-style config also contains a parameter-string which contains information about polarization + delivery type (e.g. DVB-S2).
With this change, S2-tuning works with a VDR-channel list.
Missing (later commits):
- vdr-parameter-string also contains other information, e.g. invert-flag, needs to be parsed.
- Diseqc-lnb-number is not present in VDR-config (I believe it is handled via the location-parameter + lnb-config there). For backwards compatibility, the location-parameter can be the lnb-number - we should test whether it is an int and assume this in this case.
- VID, AID and TID-lists are extremely ugly in their syntax for VDR. At the moment, only the first number is parsed (and TID fully ignored), needs to be fixed.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions