summaryrefslogtreecommitdiffstats
path: root/sub/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd.c')
-rw-r--r--sub/osd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/osd.c b/sub/osd.c
index b4de8fee92..3090c2e5e7 100644
--- a/sub/osd.c
+++ b/sub/osd.c
@@ -247,7 +247,7 @@ static void render_object(struct osd_state *osd, struct osd_object *obj,
if (sub->render_bitmap_subs && sub->dec_sub) {
double sub_pts = video_pts;
if (sub_pts != MP_NOPTS_VALUE)
- sub_pts -= sub->video_offset + opts->sub_delay;
+ sub_pts -= opts->sub_delay;
sub_get_bitmaps(sub->dec_sub, obj->vo_res, sub_pts, out_imgs);
} else {
osd_object_get_bitmaps(osd, obj, out_imgs);