mirror of https://github.com/mpv-player/mpv
af_format: remove redundant message prefixes
This commit is contained in:
parent
0b26d8c666
commit
995a6af787
|
@ -80,12 +80,12 @@ static int control(struct af_instance *af, int cmd, void *arg)
|
||||||
force_out_params(af, out);
|
force_out_params(af, out);
|
||||||
|
|
||||||
if (in->nch != out->nch || in->bps != out->bps) {
|
if (in->nch != out->nch || in->bps != out->bps) {
|
||||||
MP_ERR(af, "[af_format] Forced input/output formats are incompatible.\n");
|
MP_ERR(af, "Forced input/output formats are incompatible.\n");
|
||||||
return AF_ERROR;
|
return AF_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (priv->fail) {
|
if (priv->fail) {
|
||||||
MP_ERR(af, "[af_format] Failing on purpose.\n");
|
MP_ERR(af, "Failing on purpose.\n");
|
||||||
return AF_ERROR;
|
return AF_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue