[MPlayer-dev-eng] [PATCH] EOSD: dump images coordinates in verbose mode

Diego Biurrun diego at biurrun.de
Wed Feb 9 15:24:25 CET 2011


On Wed, Feb 09, 2011 at 03:17:00PM +0100, Nicolas George wrote:
> Le quartidi 14 pluviôse, an CCXIX, Reimar Döffinger a écrit :
> > And you should use mp_msg_test
> 
> Didn't find it at the time. Changed.

Where?

> --- a/sub/eosd.c
> +++ b/sub/eosd.c
> @@ -83,6 +83,19 @@ void eosd_render_frame(double ts, struct mp_eosd_image_list *images)
> +    if (images->changed && mp_msg_test(MSGT_OSD, MSGL_DBG4)) {
> +        struct mp_eosd_image *img;
> +        int t = ts * 1000;
> +        mp_msg(MSGT_OSD, MSGL_DBG4, "[EOSD][dump] ts: %d:%02d:%02d.%03d\n",
> +            t / 3600000, (t / 60000) % 60, (t / 1000) % 60, t % 1000);

indentation

Diego


More information about the MPlayer-dev-eng mailing list