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 /sub/sd_ass.c | |
parent | 92f9b514263d8becf670c19567826bd288595fe7 (diff) | |
download | mpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.bz2 mpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.xz |
sub/osd: mp_msg conversions
Diffstat (limited to 'sub/sd_ass.c')
-rw-r--r-- | sub/sd_ass.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sub/sd_ass.c b/sub/sd_ass.c index 93a3c7e380..4b0c3024c8 100644 --- a/sub/sd_ass.c +++ b/sub/sd_ass.c @@ -102,12 +102,12 @@ static void decode(struct sd *sd, struct demux_packet *packet) } // plaintext subs if (packet->pts == MP_NOPTS_VALUE) { - mp_msg(MSGT_SUBREADER, MSGL_WARN, "Subtitle without pts, ignored\n"); + MP_WARN(sd, "Subtitle without pts, ignored\n"); return; } if (packet->duration <= 0) { - mp_msg(MSGT_SUBREADER, MSGL_WARN, "Subtitle without duration or " - "duration set to 0 at pts %f, ignored\n", packet->pts); + MP_WARN(sd, "Subtitle without duration or " + "duration set to 0 at pts %f, ignored\n", packet->pts); return; } unsigned char *text = packet->buffer; @@ -390,7 +390,7 @@ static void mangle_colors(struct sd *sd, struct sub_bitmaps *parts) { int msgl = basic_conv ? MSGL_V : MSGL_WARN; ctx->last_params = params; - mp_msg(MSGT_SUBREADER, msgl, "[sd_ass] mangling colors like vsfilter: " + MP_MSG(sd, msgl, "mangling colors like vsfilter: " "RGB -> %s %s -> %s %s -> RGB\n", mp_csp_names[csp], mp_csp_levels_names[levels], mp_csp_names[params.colorspace], mp_csp_levels_names[params.colorlevels]); |