summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_vo.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-20 18:47:18 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-26 20:39:04 +0200
commita248c2c7a137517061e6271f22b84d43bcd7191d (patch)
tree27cb0970881007be820e8dfb74c504cf257afb20 /libmpcodecs/vf_vo.c
parent966340b31a7bc53e922118da1cd4783d6a06483d (diff)
downloadmpv-a248c2c7a137517061e6271f22b84d43bcd7191d.tar.bz2
mpv-a248c2c7a137517061e6271f22b84d43bcd7191d.tar.xz
cleanup: rename ass_* functions to mp_ass_*
The various ass_* functions were created when libass was part of the MPlayer tree and the distinction between MPlayer-specific and other functions was less clear. Now that libass is a clearly separate library, using the same ass_* namespace for player functions is ugly. Rename the functions to use mp_ass_ prefix instead.
Diffstat (limited to 'libmpcodecs/vf_vo.c')
-rw-r--r--libmpcodecs/vf_vo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c
index b10181cf14..4d94569ef3 100644
--- a/libmpcodecs/vf_vo.c
+++ b/libmpcodecs/vf_vo.c
@@ -85,10 +85,10 @@ static int config(struct vf_instance *vf,
vf->priv->scale_ratio = (double) d_width / d_height * height / width;
if (vf->priv->renderer_realaspect) {
- ass_configure(vf->priv->renderer_realaspect, width, height,
- vf->default_caps & VFCAP_EOSD_UNSCALED);
- ass_configure(vf->priv->renderer_vsfilter, width, height,
- vf->default_caps & VFCAP_EOSD_UNSCALED);
+ mp_ass_configure(vf->priv->renderer_realaspect, width, height,
+ vf->default_caps & VFCAP_EOSD_UNSCALED);
+ mp_ass_configure(vf->priv->renderer_vsfilter, width, height,
+ vf->default_caps & VFCAP_EOSD_UNSCALED);
}
#endif
@@ -143,8 +143,8 @@ static int control(struct vf_instance *vf, int request, void* data)
ass_renderer_done(vf->priv->renderer_realaspect);
return CONTROL_FALSE;
}
- ass_configure_fonts(vf->priv->renderer_realaspect);
- ass_configure_fonts(vf->priv->renderer_vsfilter);
+ mp_ass_configure_fonts(vf->priv->renderer_realaspect);
+ mp_ass_configure_fonts(vf->priv->renderer_vsfilter);
vf->priv->prev_visibility = false;
return CONTROL_TRUE;
}
@@ -175,7 +175,7 @@ static int control(struct vf_instance *vf, int request, void* data)
ass_set_aspect_ratio(renderer, scale, 1);
}
- images.imgs = ass_mp_render_frame(renderer,
+ images.imgs = mp_ass_render_frame(renderer,
osd->ass_track,
(pts+sub_delay) * 1000 + .5,
&images.changed);