Commit d17ebaf1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

parent 9e76fdbc
...@@ -696,7 +696,7 @@ static int Tune (vlc_object_t *obj, dvb_device_t *dev, const delsys_t *delsys, ...@@ -696,7 +696,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) static uint64_t var_InheritFrequency (vlc_object_t *obj)
{ {
uint64_t freq = var_InheritInteger (obj, "dvb-frequency"); 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); msg_Err (obj, "%"PRIu64" Hz carrier frequency is too low.", freq);
freq *= 1000; freq *= 1000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment