[MPlayer-dev-eng] [PATCH] add support for more verbose console output if -osd-fractions is enabled

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Dec 5 19:35:40 CET 2011


On Mon, Dec 05, 2011 at 10:07:47AM -0700, Roger Pack wrote:
> This allows users to see more precise timestamps, like
> A:  3.36 V:  3.37 A-V: -0.004 ct:  0.095  88/ 85 19% 33%  8.2% 28 0
> if they enable -osd-fractions (thanks for the idea, as proposed on the
> users mailing list).

Duplicating the whole saddf line seems a bit overkill to me,
something like
saddf(line, &pos, width,
      osd_fractions ? "A:%6.2f " : "A:%6.1f ",
      a_pos);
should do it just as well?
And I'd also suggest going to 6.3 since then you
have milliseconds which is more common than
centiseconds (though on the other hand it is then
inconsistent with the OSD... so do whatever you prefer).


More information about the MPlayer-dev-eng mailing list