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
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"?
cu
Florian Steinel
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index