From 7dc7b900c622235d595337c988a0c75280084b7c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 16 Dec 2013 20:40:02 +0100 Subject: Replace mp_tmsg, mp_dbg -> mp_msg, remove mp_gtext(), remove set_osd_tmsg The tmsg stuff was for the internal gettext() based translation system, which nobody ever attempted to use and thus was removed. mp_gtext() and set_osd_tmsg() were also for this. mp_dbg was once enabled in debug mode only, but since we have log level for enabling debug messages, it seems utterly useless. --- sub/sd_srt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sub') diff --git a/sub/sd_srt.c b/sub/sd_srt.c index f9d1a88c9f..343f218190 100644 --- a/sub/sd_srt.c +++ b/sub/sd_srt.c @@ -392,7 +392,7 @@ static void convert_subrip(const char *orig, char *dest, int dest_buffer_size) tag->has_color = true; } else { // We didn't find any matching color - mp_tmsg(MSGT_SUBREADER, MSGL_WARN, + mp_msg(MSGT_SUBREADER, MSGL_WARN, "SubRip: unknown font color in subtitle: >%s<\n", orig); append_text(&new_line, "{\\c}"); @@ -406,7 +406,7 @@ static void convert_subrip(const char *orig, char *dest, int dest_buffer_size) tag->has_face = true; has_valid_attr = true; } else - mp_tmsg(MSGT_SUBREADER, MSGL_WARN,"SubRip: unrecognized " + mp_msg(MSGT_SUBREADER, MSGL_WARN,"SubRip: unrecognized " "attribute \"%.*s\" in font tag\n", BSTR_P(attr)); } -- cgit v1.2.3