[vlc-commits] dtv: accept frequency as low as 50 MHz (fixes #7406)

Rémi Denis-Courmont git at videolan.org
Thu Aug 30 22:38:31 CEST 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 30 23:33:21 2012 +0300| [b0a6030279fb00d847bbaa8c54e5ed797f54c8b0] | committer: Rémi Denis-Courmont

dtv: accept frequency as low as 50 MHz (fixes #7406)

(cherry picked from commit d17ebaf154b252c794eef4326065886c5c750bf5)

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

 modules/access/dtv/access.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c
index 52bbb7b..178d201 100644
--- a/modules/access/dtv/access.c
+++ b/modules/access/dtv/access.c
@@ -665,7 +665,7 @@ static int Tune (vlc_object_t *obj, dvb_device_t *dev, const delsys_t *delsys,
 static uint64_t var_InheritFrequency (vlc_object_t *obj)
 {
     uint64_t freq = var_InheritInteger (obj, "dvb-frequency");
-    if (freq != 0 && freq <= 108000000)
+    if (freq != 0 && freq < 30000000)
     {
         msg_Err (obj, "%"PRIu64" Hz carrier frequency is too low.", freq);
         freq *= 1000;



More information about the vlc-commits mailing list