[vlc-devel] [vlc-commits] dtv: accept frequency as low as 50 MHz (fixes #7406)
Zoran Turalija
zoran.turalija at gmail.com
Fri Aug 31 10:40:39 CEST 2012
On Thu, Aug 30, 2012 at 10:35:59PM +0200, Rémi Denis-Courmont wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 30 23:33:21 2012 +0300| [d17ebaf154b252c794eef4326065886c5c750bf5] | committer: Rémi Denis-Courmont
>
> dtv: accept frequency as low as 50 MHz (fixes #7406)
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d17ebaf154b252c794eef4326065886c5c750bf5
> ---
>
> 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 91bf866..abd40ce 100644
> --- a/modules/access/dtv/access.c
> +++ b/modules/access/dtv/access.c
> @@ -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)
> {
> uint64_t freq = var_InheritInteger (obj, "dvb-frequency");
> - if (freq != 0 && freq <= 108000000)
> + if (freq != 0 && freq < 30000000)
^
Typo?
> {
> msg_Err (obj, "%"PRIu64" Hz carrier frequency is too low.", freq);
> freq *= 1000;
Also:
On Thu, Aug 30, 2012 at 10:38:31PM +0200, Rémi Denis-Courmont wrote:
> 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)
^
Typo?
> {
> msg_Err (obj, "%"PRIu64" Hz carrier frequency is too low.", freq);
> freq *= 1000;
--
Kind regards,
Zoran Turalija
More information about the vlc-devel
mailing list