summaryrefslogtreecommitdiffstats
path: root/stream/dvb_tune.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/dvb_tune.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/dvb_tune.h')
-rw-r--r--stream/dvb_tune.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/dvb_tune.h b/stream/dvb_tune.h
index 5bd1269e83..87b85b11ff 100644
--- a/stream/dvb_tune.h
+++ b/stream/dvb_tune.h
@@ -30,7 +30,7 @@ int dvb_set_ts_filt(dvb_priv_t *priv, int fd, uint16_t pid, dmx_pes_type_t pesty
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,
- int tone, fe_spectral_inversion_t specInv,
+ int tone, bool is_dvb_s2, fe_spectral_inversion_t specInv,
fe_modulation_t modulation, fe_guard_interval_t guardInterval,
fe_transmit_mode_t TransmissionMode, fe_bandwidth_t bandWidth,
fe_code_rate_t HP_CodeRate, fe_code_rate_t LP_CodeRate,