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_lavrresample.c | |
parent | 4abe6b862f07d4d2dfa75791c9fdd97ccbc8aeaa (diff) | |
download | mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.bz2 mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.xz |
audio: mp_msg conversions
Diffstat (limited to 'audio/filter/af_lavrresample.c')
-rw-r--r-- | audio/filter/af_lavrresample.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c index ee453cc1de..4bd95459c0 100644 --- a/audio/filter/af_lavrresample.c +++ b/audio/filter/af_lavrresample.c @@ -168,8 +168,7 @@ static int configure_lavrr(struct af_instance *af, struct mp_audio *in, av_opt_set_double(s->avrctx, "cutoff", s->ctx.cutoff, 0); if (parse_avopts(s->avrctx, s->avopts) < 0) { - mp_msg(MSGT_VFILTER, MSGL_FATAL, - "af_lavrresample: could not set opts: '%s'\n", s->avopts); + MP_FATAL(af, "af_lavrresample: could not set opts: '%s'\n", s->avopts); return AF_ERROR; } @@ -222,7 +221,7 @@ static int configure_lavrr(struct af_instance *af, struct mp_audio *in, if (avresample_open(s->avrctx) < 0 || avresample_open(s->avrctx_out) < 0) { - mp_msg(MSGT_AFILTER, MSGL_ERR, "[lavrresample] Cannot open " + MP_ERR(af, "[lavrresample] Cannot open " "Libavresample Context. \n"); return AF_ERROR; } @@ -398,7 +397,7 @@ static int af_open(struct af_instance *af) if (s->avrctx && s->avrctx_out) { return AF_OK; } else { - mp_msg(MSGT_AFILTER, MSGL_ERR, "[lavrresample] Cannot initialize " + MP_ERR(af, "[lavrresample] Cannot initialize " "Libavresample Context. \n"); uninit(af); return AF_ERROR; |