summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.c
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-03 18:15:33 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-03 18:15:33 +0000
commit6fef7a200fea4795e207d0a9d860a495f469b87f (patch)
tree2004c558bd928041676aaf096dd8728844bf1ea4 /libass/ass_cache.c
parent577e05c8865ee41066966276ede1b7a6ae23f6c4 (diff)
downloadmpv-6fef7a200fea4795e207d0a9d860a495f469b87f.tar.bz2
mpv-6fef7a200fea4795e207d0a9d860a495f469b87f.tar.xz
Introduce MSGT_ASS, use it for all libass messages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20645 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_cache.c')
-rw-r--r--libass/ass_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_cache.c b/libass/ass_cache.c
index 16d67b5f00..a2f5bf2807 100644
--- a/libass/ass_cache.c
+++ b/libass/ass_cache.c
@@ -78,7 +78,7 @@ int ass_new_face(FT_Library library, void* fontconfig_priv, face_desc_t* desc, /
}
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 @@ int ass_new_face(FT_Library library, void* fontconfig_priv, face_desc_t* desc, /
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;
}