From 3846fc758789711347c0b11f87736b27fc6210a0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 19:06:37 +0100 Subject: sub/osd: mp_msg conversions --- player/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'player/main.c') diff --git a/player/main.c b/player/main.c index 0cf0a1a447..7ca64ed664 100644 --- a/player/main.c +++ b/player/main.c @@ -399,13 +399,14 @@ static int mpv_main(int argc, char *argv[]) getch2_enable(); #if HAVE_LIBASS - mpctx->ass_library = mp_ass_init(opts); + mpctx->ass_log = mp_log_new(mpctx, mpctx->global->log, "!libass"); + mpctx->ass_library = mp_ass_init(mpctx->global, mpctx->ass_log); #else MP_WARN(mpctx, "Compiled without libass.\n"); MP_WARN(mpctx, "There will be no OSD and no text subtitles.\n"); #endif - mpctx->osd = osd_create(opts); + mpctx->osd = osd_create(mpctx->global); if (opts->force_vo) { opts->fixed_vo = 1; -- cgit v1.2.3