mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
w_scan: update linux 3.7 compat patch, thx vpeter
This commit is contained in:
parent
02ad99e23f
commit
c2e329a42a
@ -1,13 +1,16 @@
|
||||
diff --git a/scan.c b/scan.c
|
||||
index c24e256..7eeeb90 100644
|
||||
index c24e256..8f603f8 100644
|
||||
--- a/scan.c
|
||||
+++ b/scan.c
|
||||
@@ -1816,7 +1816,7 @@ static int set_frontend(int frontend_fd, struct transponder * t) {
|
||||
@@ -1816,7 +1816,11 @@ static int set_frontend(int frontend_fd, struct transponder * t) {
|
||||
case SCAN_TERRESTRIAL:
|
||||
set_cmd_sequence(DTV_DELIVERY_SYSTEM, t->param.u.terr.delivery_system);
|
||||
if (t->param.u.terr.delivery_system == SYS_DVBT2) {
|
||||
- set_cmd_sequence(DTV_DVBT2_PLP_ID, t->pids.plp_id);
|
||||
+#ifdef DTV_DVBT2_PLP_ID
|
||||
set_cmd_sequence(DTV_DVBT2_PLP_ID, t->pids.plp_id);
|
||||
+#else
|
||||
+ set_cmd_sequence(DTV_DVBT2_PLP_ID_LEGACY, t->pids.plp_id);
|
||||
+#endif
|
||||
}
|
||||
set_cmd_sequence(DTV_FREQUENCY, t->param.frequency);
|
||||
set_cmd_sequence(DTV_INVERSION, t->param.inversion);
|
||||
|
Loading…
x
Reference in New Issue
Block a user