From 4b93210e0c244a65ef10a566abed2ad25ecaf9a1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 14 Jul 2014 14:33:26 +0200 Subject: Remove DVD and Bluray support It never worked well. Just remux your DVD and BD images to mkv. --- sub/osd.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'sub/osd.c') diff --git a/sub/osd.c b/sub/osd.c index e88df98afe..3a3c8b6c25 100644 --- a/sub/osd.c +++ b/sub/osd.c @@ -206,14 +206,6 @@ void osd_set_external2(struct osd_state *osd, struct sub_bitmaps *imgs) pthread_mutex_unlock(&osd->lock); } -void osd_set_nav_highlight(struct osd_state *osd, void *priv) -{ - pthread_mutex_lock(&osd->lock); - osd->objs[OSDTYPE_NAV_HIGHLIGHT]->highlight_priv = priv; - osd_changed_unlocked(osd, OSDTYPE_NAV_HIGHLIGHT); - pthread_mutex_unlock(&osd->lock); -} - static void render_object(struct osd_state *osd, struct osd_object *obj, struct mp_osd_res res, double video_pts, const bool sub_formats[SUBBITMAP_COUNT], @@ -247,9 +239,6 @@ static void render_object(struct osd_state *osd, struct osd_object *obj, *out_imgs = *obj->external2; obj->external2->bitmap_id = obj->external2->bitmap_pos_id = 0; } - } else if (obj->type == OSDTYPE_NAV_HIGHLIGHT) { - if (obj->highlight_priv) - mp_nav_get_highlight(obj->highlight_priv, obj->vo_res, out_imgs); } else { osd_object_get_bitmaps(osd, obj, out_imgs); } -- cgit v1.2.3