diff --git a/sub/osd.c b/sub/osd.c index b261832efb..75fbf90675 100644 --- a/sub/osd.c +++ b/sub/osd.c @@ -414,13 +414,6 @@ struct sub_bitmap_list *osd_render(struct osd_state *osd, struct mp_osd_res res, talloc_free(imgs); } - // If this is called with OSD_DRAW_SUB_ONLY or OSD_DRAW_OSD_ONLY set, assume - // it will always draw the complete OSD by doing multiple osd_draw() calls. - // OSD_DRAW_SUB_FILTER on the other hand is an evil special-case, and we - // must not reset the flag when it happens. - if (!(draw_flags & OSD_DRAW_SUB_FILTER)) - osd->want_redraw_notification = false; - double elapsed = MP_TIME_NS_TO_MS(mp_time_ns() - start_time); bool slow = elapsed > 5; mp_msg(osd->log, slow ? MSGL_DEBUG : MSGL_TRACE, "Spent %.3f ms in %s%s\n",