diff options
author | wm4 <wm4@nowhere> | 2014-07-14 14:33:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-14 14:34:14 +0200 |
commit | 4b93210e0c244a65ef10a566abed2ad25ecaf9a1 (patch) | |
tree | 6ff381d5cfd95f7b89c9253f07faa75883983dcc /sub/osd.c | |
parent | c129e3f666a4d3f562f32e633293cf9bbb13c3ac (diff) | |
download | mpv-4b93210e0c244a65ef10a566abed2ad25ecaf9a1.tar.bz2 mpv-4b93210e0c244a65ef10a566abed2ad25ecaf9a1.tar.xz |
Remove DVD and Bluray support
It never worked well. Just remux your DVD and BD images to mkv.
Diffstat (limited to 'sub/osd.c')
-rw-r--r-- | sub/osd.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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); } |