]> granicus.if.org Git - libass/commitdiff
Adjust a few message levels and message texts
authorGrigori Goronzy <greg@blackbox>
Mon, 18 Jan 2010 23:55:46 +0000 (00:55 +0100)
committerGrigori Goronzy <greg@blackbox>
Mon, 18 Jan 2010 23:57:06 +0000 (00:57 +0100)
libass/ass_fontconfig.c
libass/ass_render.c

index 2a43694f3872557aa07140475603e4c16bd494ac..dae08b4e20faa5a76a1b36155f0b245d26615a98 100644 (file)
@@ -388,7 +388,7 @@ FCInstance *fontconfig_init(ASS_Library *library,
         process_fontdata(priv, library, ftlibrary, i);
 
     if (dir) {
-        ass_msg(library, MSGL_INFO, "Updating font cache");
+        ass_msg(library, MSGL_V, "Updating font cache");
 
         rc = FcConfigAppFontAddDir(priv->config, (const FcChar8 *) dir);
         if (!rc) {
index 6bc0c61baea07f0aeea83c881a0f0ae0ff2ff7cb..6e4fb7afa2dfa97d710afe009ed891438dad8f88 100644 (file)
@@ -125,7 +125,7 @@ ASS_Renderer *ass_renderer_init(ASS_Library *library)
 
   ass_init_exit:
     if (priv)
-        ass_msg(library, MSGL_INFO, "Init");
+        ass_msg(library, MSGL_V, "Init");
     else
         ass_msg(library, MSGL_ERR, "Init failed");
 
@@ -538,7 +538,7 @@ static void blend_vector_clip(ASS_Renderer *render_priv,
     FT_Glyph_Copy((FT_Glyph) drawing->glyph, &glyph);
     error = FT_Glyph_To_Bitmap(&glyph, FT_RENDER_MODE_NORMAL, 0, 1);
     if (error) {
-        ass_msg(render_priv->library, MSGL_V,
+        ass_msg(render_priv->library, MSGL_WARN,
             "Clip vector rasterization failed: %d. Skipping.", error);
         goto blend_vector_exit;
     }
@@ -2072,7 +2072,7 @@ ass_render_event(ASS_Renderer *render_priv, ASS_Event *event,
             double scr_y;
             if (valign != VALIGN_SUB)
                 ass_msg(render_priv->library, MSGL_V,
-                       "Invalid valign, supposing 0 (subtitle)");
+                       "Invalid valign, assuming 0 (subtitle)");
             scr_y =
                 y2scr_sub(render_priv,
                           render_priv->track->PlayResY - MarginV);
@@ -2505,7 +2505,7 @@ fix_collisions(ASS_Renderer *render_priv, EventImages *imgs, int cnt)
             s.hb = priv->left + priv->width;
             if (priv->height != imgs[i].height) {       // no, it's not
                 ass_msg(render_priv->library, MSGL_WARN,
-                        "Warning! Event height has changed");
+                        "Event height has changed");
                 priv->top = 0;
                 priv->height = 0;
                 priv->left = 0;