[vlc-devel] [PATCH] access: enable ISDB-T layers

HIRANO Takahito hiranotaka at zng.info
Tue Feb 16 16:33:39 CET 2016


Layer configurations were set, but layers have not been enabled. Some DVB
drivers are require them to be enabled to watch TV.

Signed-off-by: HIRANO Takahito <hiranotaka at zng.info>
---
 modules/access/dtv/linux.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index d0fa9f7..1d481f0 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -1131,9 +1131,10 @@ int dvb_set_isdbt (dvb_device_t *d, uint32_t freq, uint32_t bandwidth,
 
     if (dvb_find_frontend (d, ISDB_T))
         return -1;
-    if (dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBT,
+    if (dvb_set_props (d, 6, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBT,
                        DTV_FREQUENCY, freq, DTV_BANDWIDTH_HZ, bandwidth,
-                       DTV_GUARD_INTERVAL, guard))
+                       DTV_GUARD_INTERVAL, guard,
+                       DTV_ISDBT_LAYER_ENABLED, 0x7 /* all layer enabled */))
         return -1;
     for (unsigned i = 0; i < 3; i++)
         if (dvb_set_isdbt_layer (d, i, layers + i))
-- 
2.7.0



More information about the vlc-devel mailing list