summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf.c6
-rw-r--r--libmpcodecs/vf.h2
-rw-r--r--libmpcodecs/vf_sub.c (renamed from libmpcodecs/vf_ass.c)10
3 files changed, 8 insertions, 10 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c
index 5ec7d19570..9ea17f978c 100644
--- a/libmpcodecs/vf.c
+++ b/libmpcodecs/vf.c
@@ -64,7 +64,7 @@ extern const vf_info_t vf_info_divtc;
extern const vf_info_t vf_info_softskip;
extern const vf_info_t vf_info_screenshot;
extern const vf_info_t vf_info_screenshot_force;
-extern const vf_info_t vf_info_ass;
+extern const vf_info_t vf_info_sub;
extern const vf_info_t vf_info_yadif;
extern const vf_info_t vf_info_stereo3d;
extern const vf_info_t vf_info_dlopen;
@@ -102,9 +102,7 @@ static const vf_info_t *const filter_list[] = {
&vf_info_delogo,
&vf_info_phase,
&vf_info_divtc,
-#ifdef CONFIG_ASS
- &vf_info_ass,
-#endif
+ &vf_info_sub,
&vf_info_yadif,
&vf_info_stereo3d,
&vf_info_dlopen,
diff --git a/libmpcodecs/vf.h b/libmpcodecs/vf.h
index 7db9bd5808..4c50f0e9cc 100644
--- a/libmpcodecs/vf.h
+++ b/libmpcodecs/vf.h
@@ -106,7 +106,7 @@ struct vf_ctrl_screenshot {
#define VFCTRL_INIT_OSD 15 // Filter OSD renderer present?
#define VFCTRL_SET_DEINTERLACE 18 // Set deinterlacing status
#define VFCTRL_GET_DEINTERLACE 19 // Get deinterlacing status
-/* Hack to make the OSD state object available to vf_expand and vf_ass which
+/* Hack to make the OSD state object available to vf_sub which
* access OSD/subtitle state outside of normal OSD draw time. */
#define VFCTRL_SET_OSD_OBJ 20
#define VFCTRL_SET_YUV_COLORSPACE 22 // arg is struct mp_csp_details*
diff --git a/libmpcodecs/vf_ass.c b/libmpcodecs/vf_sub.c
index 1da0b03b44..e377d589c5 100644
--- a/libmpcodecs/vf_ass.c
+++ b/libmpcodecs/vf_sub.c
@@ -289,7 +289,7 @@ static int vf_open(vf_instance_t *vf, char *args)
}
if (vf->priv->auto_insert)
- mp_msg(MSGT_ASS, MSGL_INFO, "[ass] auto-open\n");
+ mp_msg(MSGT_ASS, MSGL_INFO, "[sub] auto-open\n");
vf->config = config;
vf->query_format = query_format;
@@ -308,15 +308,15 @@ static const m_option_t vf_opts_fields[] = {
};
static const m_struct_t vf_opts = {
- "ass",
+ "sub",
sizeof(struct vf_priv_s),
&vf_priv_dflt,
vf_opts_fields
};
-const vf_info_t vf_info_ass = {
- "Render ASS/SSA subtitles",
- "ass",
+const vf_info_t vf_info_sub = {
+ "Render subtitles",
+ "sub",
"Evgeniy Stepanov",
"",
vf_open,