[vlc-devel] [PATCH 2/2] dtv multisat: Initialize dvb_diseqc_master_cmd correctly.
Zoran Turalija
zoran.turalija at gmail.com
Fri Aug 10 15:59:07 CEST 2012
If not initialized correctly, FE_DISEQC_SEND_MASTER_CMD will fail,
so no DiSEqC switch will occur, preventig multi-satellite tunning.
---
modules/access/dtv/linux.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index fbc771b..28f2069 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -774,7 +774,8 @@ known:
{
/* DiSEqC 1.0 */
#undef msleep /* we know what we are doing! */
- struct dvb_diseqc_master_cmd cmd;
+ struct dvb_diseqc_master_cmd cmd =
+ { {0xE0, 0x10, 0x38, 0xF0, 0x00, 0x00}, 4};
satno = (satno - 1) & 3;
cmd.msg[0] = 0xE0; /* framing: master, no reply, 1st TX */
--
1.7.5.4
More information about the vlc-devel
mailing list