diff options
author | wm4 <wm4@nowhere> | 2013-12-21 19:06:37 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:13 +0100 |
commit | 3846fc758789711347c0b11f87736b27fc6210a0 (patch) | |
tree | e9b01445291326f0a026e0b002d78f1487d781b2 /player/main.c | |
parent | 92f9b514263d8becf670c19567826bd288595fe7 (diff) | |
download | mpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.bz2 mpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.xz |
sub/osd: mp_msg conversions
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |