diff options
author | wm4 <wm4@nowhere> | 2014-01-24 21:30:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-01-24 21:30:15 +0100 |
commit | 39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd (patch) | |
tree | 006930f584e55ca721e587199b359c9be548ac04 /audio/filter/af_channels.c | |
parent | f46e188ec5952693c08d0572558a13f9a92504f8 (diff) | |
download | mpv-39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd.tar.bz2 mpv-39b40e1ffb1e3fcf81ec4a4afe88c974adb2efcd.tar.xz |
audio/filter: remove redundant log message prefixes
These are now appended automatically, so you'd get them twice before
this commit.
Diffstat (limited to 'audio/filter/af_channels.c')
-rw-r--r-- | audio/filter/af_channels.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/filter/af_channels.c b/audio/filter/af_channels.c index 74a0de0fd6..6db44ba024 100644 --- a/audio/filter/af_channels.c +++ b/audio/filter/af_channels.c @@ -124,14 +124,14 @@ static int check_routes(struct af_instance *af, int nin, int nout) af_channels_t* s = af->priv; int i; if((s->nr < 1) || (s->nr > AF_NCH)){ - MP_ERR(af, "[channels] The number of routing pairs must be" + MP_ERR(af, "The number of routing pairs must be" " between 1 and %i. Current value is %i\n",AF_NCH,s->nr); return AF_ERROR; } for(i=0;i<s->nr;i++){ if((s->route[i][FR] >= nin) || (s->route[i][TO] >= nout)){ - MP_ERR(af, "[channels] Invalid routing in pair nr. %i.\n", i); + MP_ERR(af, "Invalid routing in pair nr. %i.\n", i); return AF_ERROR; } } @@ -220,11 +220,11 @@ static int af_open(struct af_instance* af){ do { int n = 0; if (ch >= AF_NCH) { - MP_FATAL(af, "[channels] Can't have more than %d routes.\n", AF_NCH); + MP_FATAL(af, "Can't have more than %d routes.\n", AF_NCH); return AF_ERROR; } sscanf(cp, "%i-%i%n" ,&s->route[ch][FR], &s->route[ch][TO], &n); - MP_VERBOSE(af, "[channels] Routing from channel %i to" + MP_VERBOSE(af, "Routing from channel %i to" " channel %i\n",s->route[ch][FR],s->route[ch][TO]); cp = &cp[n]; ch++; |