vlc | branch: master | Takahito Hirano <[email protected]> | 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 <[email protected]>
Signed-off-by: Rémi Denis-Courmont <[email protected]>

> 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))

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to