summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorNicolas F <ovdev@fratti.ch>2017-10-23 10:53:28 +0200
committerMartin Herkt <652892+lachs0r@users.noreply.github.com>2017-12-03 21:24:18 +0100
commit744b67d9e554c1aea78f3fd3c92adc5bd79339ae (patch)
treeb75378c2bea712070a0619be43e92ad70501347c /audio
parent1a9fb7937a1a4d32065a144a2dc960bba04ddf10 (diff)
downloadmpv-744b67d9e554c1aea78f3fd3c92adc5bd79339ae.tar.bz2
mpv-744b67d9e554c1aea78f3fd3c92adc5bd79339ae.tar.xz
Fix various typos in log messages
Diffstat (limited to 'audio')
-rw-r--r--audio/aconverter.c2
-rw-r--r--audio/filter/af_lavcac3enc.c2
-rw-r--r--audio/out/push.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/audio/aconverter.c b/audio/aconverter.c
index a9025278cb..19b8960de2 100644
--- a/audio/aconverter.c
+++ b/audio/aconverter.c
@@ -325,7 +325,7 @@ static bool configure_lavrr(struct mp_aconverter *p, bool verbose)
p->is_resampling = false;
if (avresample_open(p->avrctx) < 0 || avresample_open(p->avrctx_out) < 0) {
- MP_ERR(p, "Cannot open Libavresample Context. \n");
+ MP_ERR(p, "Cannot open Libavresample context.\n");
goto error;
}
return true;
diff --git a/audio/filter/af_lavcac3enc.c b/audio/filter/af_lavcac3enc.c
index 33e685eddb..14aa53b980 100644
--- a/audio/filter/af_lavcac3enc.c
+++ b/audio/filter/af_lavcac3enc.c
@@ -400,7 +400,7 @@ static int af_open(struct af_instance* af){
}
}
if (i >= 19) {
- MP_WARN(af, "unable set unsupported bitrate %d, use default "
+ MP_WARN(af, "unable set unsupported bitrate %d, using default "
"bitrate (check manpage to see supported bitrates).\n",
s->cfg_bit_rate);
}
diff --git a/audio/out/push.c b/audio/out/push.c
index 1f87481183..b198afef91 100644
--- a/audio/out/push.c
+++ b/audio/out/push.c
@@ -310,7 +310,7 @@ static void ao_play_data(struct ao *ao)
r = ao->driver->play(ao, (void **)planes, samples, flags);
MP_STATS(ao, "end ao fill");
if (r > samples) {
- MP_ERR(ao, "Audio device returned non-sense value.\n");
+ MP_ERR(ao, "Audio device returned nonsense value.\n");
r = samples;
} else if (r < 0) {
MP_ERR(ao, "Error writing audio to device.\n");