[vlc-commits] access: enable ISDB-T layers

Takahito Hirano git at videolan.org
Thu Feb 18 00:26:53 CET 2016


vlc | branch: master | Takahito Hirano <hiranotaka at zng.info> | Wed Feb 17 00:33:39 2016 +0900| [144ebc430f44f379c9a20775708925ade99d58ea] | committer: Rémi Denis-Courmont

access: enable ISDB-T layers

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: Takahito Hirano <hiranotaka at zng.info>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=144ebc430f44f379c9a20775708925ade99d58ea
---

 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..db139c8 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 layers enabled */))
         return -1;
     for (unsigned i = 0; i < 3; i++)
         if (dvb_set_isdbt_layer (d, i, layers + i))



More information about the vlc-commits mailing list