[MPlayer-dev-eng] [PATCH] stream dump: print progress information

Nicolas George nicolas.george at normalesup.org
Fri May 13 08:31:34 CEST 2011


Le quartidi 24 floréal, an CCXIX, Reimar Döffinger a écrit :
> First, the _ts variables seem pointless/unused?

They are used to avoid flooding the console by only refreshing once per
second. Numerous messages on the console can really slow things down if
mplayer is started, for example, through a slow SSH connection.

Additionally, they can be used to compute an ETA.

> Also, I'd be in favour of using int64_t and appropriate format strings
> instead of off_t and casts.

Will do.

> Lastly, your size is not quite right I think, it should be start_pos -
> end_pos (using -sb might help to show it, not sure if it currently works).

I'll try to look into it.

Do you have any preference regarding which version of the patch?

Regards,

-- 
  Nicolas George


More information about the MPlayer-dev-eng mailing list