From bef1893cd586f590bdc237c3b3c732c69d7479f8 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Wed, 31 Dec 2014 01:53:47 +0100 Subject: 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. --- stream/dvbin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/dvbin.h') 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; -- cgit v1.2.3