[MPlayer-dev-eng] [patch] download status

Arpi arpi at thot.banki.hu
Sun Oct 12 22:36:19 CEST 2003


Hi,

> hey,
> 
> ok this patch shows up how much bytes got dumped by mplayer when using
> mplayer -dumpstream -v [url], this time using long double

why??????

why isn't off_t (or size_t or long long) good?
why do you need floating point here? 
esp. a special type (long double) which is not available on many archs?

> +	streamsize+=(long double)len;
> +	mp_msg(MSGT_CPLAYER,MSGL_V,"Bytes written: %.0Lf\r",streamsize);	

this will slow down dump process a lot on some environments (dumping from
fast media on slow console/xterm/ssh)


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list