mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
vdr: update linux 3.7 compat patch, thx vpeter
This commit is contained in:
parent
c2e329a42a
commit
43c7a7ec2b
@ -1,13 +1,16 @@
|
||||
diff --git a/dvbdevice.c b/dvbdevice.c
|
||||
index 42ec5b1..69a6f0c 100644
|
||||
index 42ec5b1..9c397d7 100644
|
||||
--- a/dvbdevice.c
|
||||
+++ b/dvbdevice.c
|
||||
@@ -839,7 +839,7 @@ bool cDvbTuner::SetFrontend(void)
|
||||
@@ -839,7 +839,11 @@ bool cDvbTuner::SetFrontend(void)
|
||||
SETCMD(DTV_HIERARCHY, dtp.Hierarchy());
|
||||
if (frontendType == SYS_DVBT2) {
|
||||
// DVB-T2
|
||||
- SETCMD(DTV_DVBT2_PLP_ID, dtp.PlpId());
|
||||
+#ifdef DTV_DVBT2_PLP_ID
|
||||
SETCMD(DTV_DVBT2_PLP_ID, dtp.PlpId());
|
||||
+#else
|
||||
+ SETCMD(DTV_DVBT2_PLP_ID_LEGACY, dtp.PlpId());
|
||||
+#endif
|
||||
}
|
||||
|
||||
tuneTimeout = DVBT_TUNE_TIMEOUT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user