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_lavfi.c | |
parent | 4abe6b862f07d4d2dfa75791c9fdd97ccbc8aeaa (diff) | |
download | mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.bz2 mpv-1974c9b49d7bf09469362ef6ba1214f625ecb40a.tar.xz |
audio: mp_msg conversions
Diffstat (limited to 'audio/filter/af_lavfi.c')
-rw-r--r-- | audio/filter/af_lavfi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/filter/af_lavfi.c b/audio/filter/af_lavfi.c index 6fee39afea..30097ee34d 100644 --- a/audio/filter/af_lavfi.c +++ b/audio/filter/af_lavfi.c @@ -82,19 +82,19 @@ static bool recreate_graph(struct af_instance *af, struct mp_audio *config) int r; if (bstr0(p->cfg_graph).len == 0) { - mp_msg(MSGT_AFILTER, MSGL_FATAL, "lavfi: no filter graph set\n"); + MP_FATAL(af, "lavfi: no filter graph set\n"); return false; } destroy_graph(af); - mp_msg(MSGT_AFILTER, MSGL_V, "lavfi: create graph: '%s'\n", p->cfg_graph); + MP_VERBOSE(af, "lavfi: create graph: '%s'\n", p->cfg_graph); AVFilterGraph *graph = avfilter_graph_alloc(); if (!graph) goto error; if (parse_avopts(graph, p->cfg_avopts) < 0) { - mp_msg(MSGT_VFILTER, MSGL_FATAL, "lavfi: could not set opts: '%s'\n", + MP_FATAL(af, "lavfi: could not set opts: '%s'\n", p->cfg_avopts); goto error; } @@ -158,7 +158,7 @@ static bool recreate_graph(struct af_instance *af, struct mp_audio *config) return true; error: - mp_msg(MSGT_AFILTER, MSGL_FATAL, "Can't configure libavfilter graph.\n"); + MP_FATAL(af, "Can't configure libavfilter graph.\n"); avfilter_graph_free(&graph); talloc_free(tmp); return false; |