mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
video/out: change aspects of OSD handling
Let the VOs draw the OSD on their own, instead of making OSD drawing a separate VO driver call. Further, let it be the VOs responsibility to request subtitles with the correct PTS. We also basically allow the VO to request OSD/subtitles at any time. OSX changes untested.
This commit is contained in:
@@ -149,9 +149,6 @@ void osd_free(struct osd_state *osd);
|
||||
|
||||
bool osd_query_and_reset_want_redraw(struct osd_state *osd);
|
||||
|
||||
double osd_get_vo_pts(struct osd_state *osd);
|
||||
void osd_set_vo_pts(struct osd_state *osd, double vo_pts);
|
||||
|
||||
void osd_set_text(struct osd_state *osd, int obj, const char *text);
|
||||
|
||||
struct osd_sub_state {
|
||||
|
||||
Reference in New Issue
Block a user