Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Preliminary VDR 1.1.12 for testing



Oliver Endriss wrote:
> 
> Hi Klaus,
> first of all, thank you for the great job you are doing!
> 
> Klaus Schmidinger wrote:
> > - Does the new DiSEqC handling work? Go into the "Edit channel" menu
> >   and set the "Source:" parameter to the satellite where your channel
> > is on. Edit the new file 'diseqc.conf' to fit your system setup.
> 
> In Germany the locale for the decimal point is the comma.
> Therfore, you cannot use "%g" in the snprintf format string because this
> will result in a string "19,2" instead of "19.2", and DiSEqC won't work...
> I applied the following patch:
> --------------------------------  snip  --------------------------------------
> --- vdr-1.1.12/sources.c        Sat Oct  5 15:53:27 2002
> +++ vdr-1.1.12-newstruct/sources.c      Sun Oct  6 04:44:27 2002
> @@ -41,7 +41,7 @@
>      case stSat:   *q++ = 'S';
>                    {
>                      int pos = Code & ~st_Mask;
> -                    q += snprintf(q, sizeof(buffer) - 2, "%g", (pos & ~st_Neg) / 10.0);
> +                    q += snprintf(q, sizeof(buffer) - 2, "%u.%u", (pos & ~st_Neg) / 10, (pos & ~st_Neg) % 10);
>                      *q++ = (Code & st_Neg) ? 'E' : 'W';
>                    }
>                    break;
> --------------------------------  snip  --------------------------------------

Sh*t... I never really understood why the locale has to mess up the decimal point.
Thanks for taking care of this.

> ...
> The latest NEWSTRUCT CVS driver appears to be more stable than
> the old driver ever was. You should try it!
> It seems that it was a good idea to move time-consuming jobs
> out of the ISR into separate threads. Thanks, Holger!

Unfortunately the problem I'm having with dropouts every few seconds still persists,
so I can't use the NEWSTRUCT driver here.

@Holger: any news on this one? Can I help you debug this in any way?

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index