summaryrefslogtreecommitdiffstats
path: root/stream/dvbin.h
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2014-12-31 01:53:47 +0100
committerwm4 <wm4@nowhere>2015-01-06 19:52:27 +0100
commitbef1893cd586f590bdc237c3b3c732c69d7479f8 (patch)
treeebdae68788049bec72ba22bb48b4b71090bdf41f /stream/dvbin.h
parent3abf26f019fa780877b64be16d1b82c1311fab5c (diff)
downloadmpv-bef1893cd586f590bdc237c3b3c732c69d7479f8.tar.bz2
mpv-bef1893cd586f590bdc237c3b3c732c69d7479f8.tar.xz
dvb: Extend dvb_channel struct, needs to know whether channel is S2.
It contains now also a boolean which tells whether this is an DVB-S2 channel (not initialized yet - tbd in next commit). We could also pass through the type of the delivery system (would be more flexible), but the delivery-system-enum is only available with S2API, so this is more backwards-compatible. If someone has DVB-T2 / DVB-C2 hardware and extends the code to deal with it, this should be changed.
Diffstat (limited to 'stream/dvbin.h')
-rw-r--r--stream/dvbin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h
index 3c10b6cc17..d4df55119a 100644
--- a/stream/dvbin.h
+++ b/stream/dvbin.h
@@ -63,6 +63,7 @@ typedef struct {
int freq, srate, diseqc, tone;
char pol;
int tpid, dpid1, dpid2, progid, ca, pids[DMX_FILTER_SIZE], pids_cnt;
+ bool is_dvb_s2;
fe_spectral_inversion_t inv;
fe_modulation_t mod;
fe_transmit_mode_t trans;