diff options
author | wm4 <wm4@nowhere> | 2013-12-16 20:40:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-16 20:41:08 +0100 |
commit | 7dc7b900c622235d595337c988a0c75280084b7c (patch) | |
tree | 7f896555c9478430edd28d56fb6fde5691b0e643 /sub | |
parent | 3e6cd3ef19aca7c79dfc73412f98b70b7de011b4 (diff) | |
download | mpv-7dc7b900c622235d595337c988a0c75280084b7c.tar.bz2 mpv-7dc7b900c622235d595337c988a0c75280084b7c.tar.xz |
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.
Diffstat (limited to 'sub')
-rw-r--r-- | sub/sd_srt.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } |