mirror of https://github.com/mpv-player/mpv
sub: remove dead code
This commit is contained in:
parent
c02aa154ab
commit
a0ebfc3462
|
@ -152,7 +152,6 @@ struct osd_state *osd_create(struct mpv_global *global)
|
||||||
osd->objs[OSDTYPE_SUB]->is_sub = true;
|
osd->objs[OSDTYPE_SUB]->is_sub = true;
|
||||||
osd->objs[OSDTYPE_SUB2]->is_sub = true;
|
osd->objs[OSDTYPE_SUB2]->is_sub = true;
|
||||||
|
|
||||||
osd_init_backend(osd);
|
|
||||||
return osd;
|
return osd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,10 +41,6 @@ static const char osd_font_pfb[] =
|
||||||
static void append_ass(struct ass_state *ass, struct mp_osd_res *res,
|
static void append_ass(struct ass_state *ass, struct mp_osd_res *res,
|
||||||
ASS_Image **img_list, bool *changed);
|
ASS_Image **img_list, bool *changed);
|
||||||
|
|
||||||
void osd_init_backend(struct osd_state *osd)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static void create_ass_renderer(struct osd_state *osd, struct ass_state *ass)
|
static void create_ass_renderer(struct osd_state *osd, struct ass_state *ass)
|
||||||
{
|
{
|
||||||
if (ass->render)
|
if (ass->render)
|
||||||
|
|
|
@ -88,7 +88,6 @@ struct osd_state {
|
||||||
// defined in osd_libass.c
|
// defined in osd_libass.c
|
||||||
struct sub_bitmaps *osd_object_get_bitmaps(struct osd_state *osd,
|
struct sub_bitmaps *osd_object_get_bitmaps(struct osd_state *osd,
|
||||||
struct osd_object *obj, int format);
|
struct osd_object *obj, int format);
|
||||||
void osd_init_backend(struct osd_state *osd);
|
|
||||||
void osd_destroy_backend(struct osd_state *osd);
|
void osd_destroy_backend(struct osd_state *osd);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue