diff options
author | wm4 <wm4@nowhere> | 2013-12-21 18:23:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 20:50:12 +0100 |
commit | 1974c9b49d7bf09469362ef6ba1214f625ecb40a (patch) | |
tree | d670f2a12652f2f98531905e388f1290ebbee126 /audio/filter/af_format.c | |
parent | 4abe6b862f07d4d2dfa75791c9fdd97ccbc8aeaa (diff) | |
download | mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.bz2 mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.xz |
audio: mp_msg conversions
Diffstat (limited to 'audio/filter/af_format.c')
-rw-r--r-- | audio/filter/af_format.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/filter/af_format.c b/audio/filter/af_format.c index 17af1c43c9..a51c543406 100644 --- a/audio/filter/af_format.c +++ b/audio/filter/af_format.c @@ -80,13 +80,12 @@ static int control(struct af_instance *af, int cmd, void *arg) force_out_params(af, out); if (in->nch != out->nch || in->bps != out->bps) { - mp_msg(MSGT_AFILTER, MSGL_ERR, - "[af_format] Forced input/output formats are incompatible.\n"); + MP_ERR(af, "[af_format] Forced input/output formats are incompatible.\n"); return AF_ERROR; } if (priv->fail) { - mp_msg(MSGT_AFILTER, MSGL_ERR, "[af_format] Failing on purpose.\n"); + MP_ERR(af, "[af_format] Failing on purpose.\n"); return AF_ERROR; } |