summaryrefslogtreecommitdiffstats
path: root/video/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-16 20:40:02 +0100
committerwm4 <wm4@nowhere>2013-12-16 20:41:08 +0100
commit7dc7b900c622235d595337c988a0c75280084b7c (patch)
tree7f896555c9478430edd28d56fb6fde5691b0e643 /video/filter
parent3e6cd3ef19aca7c79dfc73412f98b70b7de011b4 (diff)
downloadmpv-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')
-rw-r--r--video/filter/vf.c8
-rw-r--r--video/filter/vf_crop.c2
2 files changed, 5 insertions, 5 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;
}
diff --git a/video/filter/vf_crop.c b/video/filter/vf_crop.c
index b1f41e5b18..fffcc62921 100644
--- a/video/filter/vf_crop.c
+++ b/video/filter/vf_crop.c
@@ -59,7 +59,7 @@ static int config(struct vf_instance *vf,
// check:
if(vf->priv->crop_w+vf->priv->crop_x>width ||
vf->priv->crop_h+vf->priv->crop_y>height){
- mp_tmsg(MSGT_VFILTER, MSGL_WARN, "[CROP] Bad position/width/height - cropped area outside of the original!\n");
+ mp_msg(MSGT_VFILTER, MSGL_WARN, "[CROP] Bad position/width/height - cropped area outside of the original!\n");
return 0;
}
vf_rescale_dsize(&d_width, &d_height, width, height,