Mailing List archive

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

[linux-dvb] Re: Error in vdr output format of scan



Florian Steinel wrote:
> 
> TV3 Denmark:12054:v:S50E:27500:1121:1122:1126:1:1120:86:3:0
>                     ----
> That one should get printed as "S05.0E".
> int orbital_pos range = 000-999 -> 00.0 - 99.9
> (EN300468 Satellite delivery system descriptor, orbital_position)
> 
> So how should this line changed to reflect this? (dump-vdr.c)
> fprintf (f, "S%i%s:", orbital_pos, west_east_flag_name[we_flag]);
>               --
> Something like this?
> fprintf (f, "S%.2f%s:", orbital_pos/10, west_east_flag_name[we_flag]);
>               ----
> 
> But how avoid the use of locale eg. "S99.9E" becomes "S99,9E"?

Take a look at VDR's cSource::ToString() in VDR/sources.c.

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 ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index