diff options
Diffstat (limited to 'sub')
-rw-r--r-- | sub/osd.c | 15 | ||||
-rw-r--r-- | sub/osd.h | 3 | ||||
-rw-r--r-- | sub/osd_state.h | 2 |
3 files changed, 0 insertions, 20 deletions
@@ -423,21 +423,6 @@ bool osd_query_and_reset_want_redraw(struct osd_state *osd) return r; } -double osd_get_vo_pts(struct osd_state *osd) -{ - pthread_mutex_lock(&osd->lock); - double r = osd->vo_pts; - pthread_mutex_unlock(&osd->lock); - return r; -} - -void osd_set_vo_pts(struct osd_state *osd, double vo_pts) -{ - pthread_mutex_lock(&osd->lock); - osd->vo_pts = vo_pts; - pthread_mutex_unlock(&osd->lock); -} - // Scale factor to translate OSD coordinates to what the obj uses internally. // osd_coordinates * (sw, sh) = obj_coordinates void osd_object_get_scale_factor(struct osd_state *osd, int obj, @@ -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 { diff --git a/sub/osd_state.h b/sub/osd_state.h index 55e484e3e0..01546d7c6f 100644 --- a/sub/osd_state.h +++ b/sub/osd_state.h @@ -52,8 +52,6 @@ struct osd_state { struct osd_object *objs[MAX_OSD_PARTS]; - double vo_pts; - bool render_subs_in_filter; bool want_redraw; |