4 static inline bool is_text_sub(int type
)
6 return type
== 't' || type
== 'm' || type
== 'a';
9 void sub_decode(struct sh_sub
*sh
, struct osd_state
*osd
, void *data
,
10 int data_len
, double pts
, double duration
);
11 void sub_init(struct sh_sub
*sh
, struct osd_state
*osd
);
12 void sub_reset(struct sh_sub
*sh
, struct osd_state
*osd
);
13 void sub_switchoff(struct sh_sub
*sh
, struct osd_state
*osd
);
14 void sub_uninit(struct sh_sub
*sh
);