From 319405830996b2bc73e9cdf437e389f2045adafe Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 15 Dec 2013 13:43:26 +0100 Subject: player: don't store subtitle renderer in osd_state This doesn't have much value. It can't be accessed by anything else than the actual subtitle renderer (sd_ass.c). sd_ass.c could create the renderer itself, except that we apparently want to save memory (and some font loading time) when using ordered chapters or multiple subtitle tracks. --- mpvcore/player/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpvcore/player/main.c') diff --git a/mpvcore/player/main.c b/mpvcore/player/main.c index 59eadfd676..d95546f923 100644 --- a/mpvcore/player/main.c +++ b/mpvcore/player/main.c @@ -397,7 +397,7 @@ static int mpv_main(int argc, char *argv[]) MP_WARN(mpctx, "There will be no OSD and no text subtitles.\n"); #endif - mpctx->osd = osd_create(opts, mpctx->ass_library); + mpctx->osd = osd_create(opts); if (opts->force_vo) { opts->fixed_vo = 1; -- cgit v1.2.3