mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
15 lines
477 B
C
15 lines
477 B
C
|
struct sh_sub;
|
||
|
struct osd_state;
|
||
|
|
||
|
static inline bool is_text_sub(int type)
|
||
|
{
|
||
|
return type == 't' || type == 'm' || type == 'a';
|
||
|
}
|
||
|
|
||
|
void sub_decode(struct sh_sub *sh, struct osd_state *osd, void *data,
|
||
|
int data_len, double pts, double duration);
|
||
|
void sub_init(struct sh_sub *sh, struct osd_state *osd);
|
||
|
void sub_reset(struct sh_sub *sh, struct osd_state *osd);
|
||
|
void sub_switchoff(struct sh_sub *sh, struct osd_state *osd);
|
||
|
void sub_uninit(struct sh_sub *sh);
|