diff libass/ass_cache.c @ 20629:e8885ec63928

Introduce MSGT_ASS, use it for all libass messages.
author eugeni
date Fri, 03 Nov 2006 18:15:33 +0000
parents fa122b7c71c6
children 092cb80a8ba4
line wrap: on
line diff
--- a/libass/ass_cache.c	Fri Nov 03 15:46:47 2006 +0000
+++ b/libass/ass_cache.c	Fri Nov 03 18:15:33 2006 +0000
@@ -78,7 +78,7 @@
 		}
 
 	if (face_cache_size == MAX_FACE_CACHE_SIZE) {
-		mp_msg(MSGT_GLOBAL, MSGL_FATAL, "Too many fonts\n");
+		mp_msg(MSGT_ASS, MSGL_FATAL, "Too many fonts\n");
 		return 1;
 	}
 
@@ -87,7 +87,7 @@
 	error = FT_New_Face(library, path, index, face);
 	if (error) {
 		if (!no_more_font_messages)
-			mp_msg(MSGT_GLOBAL, MSGL_WARN, "Error opening font: %s, %d\n", path, index);
+			mp_msg(MSGT_ASS, MSGL_WARN, "Error opening font: %s, %d\n", path, index);
 		no_more_font_messages = 1;
 		return 1;
 	}