summaryrefslogtreecommitdiffstats
path: root/libmpdemux/ai_alsa1x.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-22 23:05:58 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-22 23:05:58 +0000
commit177d2185e928d7b7332e9e1bfa6d38212ea7cc9b (patch)
tree654d385bd4e89fbd77cda75a89fe2e9d1b14a0b7 /libmpdemux/ai_alsa1x.c
parent4ae1571dda7f29737939a91445bef2885bd0ebea (diff)
downloadmpv-177d2185e928d7b7332e9e1bfa6d38212ea7cc9b.tar.bz2
mpv-177d2185e928d7b7332e9e1bfa6d38212ea7cc9b.tar.xz
v4l capture update by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
some silly bugs slipped through.. here is the fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7071 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/ai_alsa1x.c')
-rw-r--r--libmpdemux/ai_alsa1x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/ai_alsa1x.c b/libmpdemux/ai_alsa1x.c
index 52253b8da7..668e43679f 100644
--- a/libmpdemux/ai_alsa1x.c
+++ b/libmpdemux/ai_alsa1x.c
@@ -105,7 +105,7 @@ int ai_alsa_init(audio_in_t *ai)
err = snd_pcm_open(&ai->alsa.handle, ai->alsa.device, SND_PCM_STREAM_CAPTURE, 0);
if (err < 0) {
- mp_msg(MSGT_TV, MSGL_ERR, "Error opening audio");
+ mp_msg(MSGT_TV, MSGL_ERR, "Error opening audio: %s\n", snd_strerror(err));
return -1;
}