[vlc-devel] [PATCH] ISDB-S was not working.
HIRANO Takahito
hiranotaka at zng.info
Sat Jun 8 21:50:01 CEST 2013
Signed-off-by: HIRANO Takahito <hiranotaka at zng.info>
---
modules/access/dtv/access.c | 2 +-
modules/access/dtv/linux.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index 2de8740..fd1e9b9 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -950,7 +950,7 @@ static int isdbs_setup (vlc_object_t *obj, dvb_device_t *dev, uint64_t freq)
uint16_t ts_id = var_InheritInteger (obj, "dvb-ts-id");
int ret = dvb_set_isdbs (dev, freq, ts_id);
- if (ret == 0)
+ if (ret < 0)
ret = sec_setup (obj, dev, freq);
return ret;
}
diff --git a/modules/access/dtv/linux.c b/modules/access/dtv/linux.c
index cb3315f..ce88747 100644
--- a/modules/access/dtv/linux.c
+++ b/modules/access/dtv/linux.c
@@ -1035,7 +1035,7 @@ int dvb_set_isdbs (dvb_device_t *d, uint64_t freq_Hz, uint16_t ts_id)
if (dvb_find_frontend (d, ISDB_S))
return -1;
- return dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBS,
+ return dvb_set_props (d, 4, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM, SYS_ISDBS,
DTV_FREQUENCY, freq,
#if DVBv5(8)
DTV_STREAM_ID,
--
1.7.10.4
More information about the vlc-devel
mailing list