From 1974c9b49d7bf09469362ef6ba1214f625ecb40a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 18:23:59 +0100 Subject: audio: mp_msg conversions --- audio/filter/af_lavfi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'audio/filter/af_lavfi.c') 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; -- cgit v1.2.3