summaryrefslogtreecommitdiffstats
path: root/libao2/ao_v4l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libao2/ao_v4l2.c')
-rw-r--r--libao2/ao_v4l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/ao_v4l2.c b/libao2/ao_v4l2.c
index a9e386a448..82c53a226a 100644
--- a/libao2/ao_v4l2.c
+++ b/libao2/ao_v4l2.c
@@ -83,7 +83,7 @@ init (int rate, int channels, int format, int flags)
/* check for supported audio rate */
if (rate != 32000 || rate != 41000 || rate != 48000)
{
- mp_msg (MSGT_AO, MSGL_ERR, MSGTR_AO_MPEGPES_UnsupSamplerate, rate);
+ mp_tmsg (MSGT_AO, MSGL_ERR, "[AO MPEGPES] %d Hz not supported, try to resample.\n", rate);
rate = 48000;
}
@@ -144,7 +144,7 @@ get_space (void)
static int
play (void *data, int len, int flags)
{
- int v4l2_write (unsigned char *data, int len);
+ int v4l2_write (const unsigned char *data, int len);
if (ao_data.format != AF_FORMAT_MPEG2)
return 0;