[vlc-commits] dtv: fix compilation with Linux 3.7 / DVB >= 5.8 (fixes #7763)
Rémi Denis-Courmont
git at videolan.org
Sat Nov 24 16:53:06 CET 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 24 17:49:43 2012 +0200| [a1f6bd08356a7ab76655a54362511db6e54646c9] | committer: 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
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=a1f6bd08356a7ab76655a54362511db6e54646c9
---
modules/access/dtv/linux.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index b349365..bf4215c 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -917,7 +917,12 @@ int dvb_set_isdbs (dvb_device_t *d, uint64_t freq_Hz, uint16_t ts_id)
return -1;
return dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBS,
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
# warning ISDB-S needs Linux DVB version 5.1 or later.
msg_Err (d->obj, "ISDB-S support not compiled-in");
More information about the vlc-commits
mailing list