Commit a1f6bd08 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dtv: fix compilation with Linux 3.7 / DVB >= 5.8 (fixes #7763)

(cherry picked from commit cd1e58d9d37bc97bd4981faaa075e9d13c75bc3b)

Conflicts:
	modules/access/dtv/linux.c
parent a2d9fc18
...@@ -917,7 +917,12 @@ int dvb_set_isdbs (dvb_device_t *d, uint64_t freq_Hz, uint16_t ts_id) ...@@ -917,7 +917,12 @@ int dvb_set_isdbs (dvb_device_t *d, uint64_t freq_Hz, uint16_t ts_id)
return -1; return -1;
return dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBS, return dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBS,
DTV_FREQUENCY, freq, DTV_FREQUENCY, freq,
DTV_ISDBS_TS_ID, (uint32_t)ts_id); #if DVBv5(8)
DTV_STREAM_ID,
#else
DTV_ISDBS_TS_ID,
#endif
(uint32_t)ts_id);
#else #else
# warning ISDB-S needs Linux DVB version 5.1 or later. # warning ISDB-S needs Linux DVB version 5.1 or later.
msg_Err (d->obj, "ISDB-S support not compiled-in"); msg_Err (d->obj, "ISDB-S support not compiled-in");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment