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 /video/filter/vf.c | |
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 'video/filter/vf.c')
-rw-r--r-- | video/filter/vf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c index 69d5b29137..c1e9084b0d 100644 --- a/video/filter/vf.c +++ b/video/filter/vf.c @@ -225,7 +225,7 @@ static struct vf_instance *vf_open(struct vf_chain *c, const char *name, { struct m_obj_desc desc; if (!m_obj_list_find(&desc, &vf_obj_list, bstr0(name))) { - mp_tmsg(MSGT_VFILTER, MSGL_ERR, + mp_msg(MSGT_VFILTER, MSGL_ERR, "Couldn't find video filter '%s'.\n", name); return NULL; } @@ -437,7 +437,7 @@ static void update_formats(struct vf_chain *c, struct vf_instance *vf, // If there are output formats, but no input formats (meaning the // filters after vf work, but vf can't output any format the filters // after it accept), try to insert a conversion filter. - mp_tmsg(MSGT_VFILTER, MSGL_INFO, "Using conversion filter.\n"); + mp_msg(MSGT_VFILTER, MSGL_INFO, "Using conversion filter.\n"); struct vf_instance *conv = vf_open(c, "scale", NULL); if (conv) { conv->next = vf->next; @@ -507,8 +507,8 @@ int vf_reconfig(struct vf_chain *c, const struct mp_image_params *params) c->initialized = r < 0 ? -1 : 1; int loglevel = r < 0 ? MSGL_WARN : MSGL_V; if (r == -2) - mp_tmsg(MSGT_VFILTER, MSGL_ERR, "Image formats incompatible.\n"); - mp_tmsg(MSGT_VFILTER, loglevel, "Video filter chain:\n"); + mp_msg(MSGT_VFILTER, MSGL_ERR, "Image formats incompatible.\n"); + mp_msg(MSGT_VFILTER, loglevel, "Video filter chain:\n"); vf_print_filter_chain(c, loglevel); return r; } |