Mercurial > mplayer.hg
diff libmpdemux/ai_alsa1x.c @ 7070:aaac9080b8a3
v4l capture update by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
some silly bugs slipped through.. here is the fix
author | arpi |
---|---|
date | Thu, 22 Aug 2002 23:05:58 +0000 |
parents | b14880a6cccb |
children | 13fcab6fde41 |
line wrap: on
line diff
--- a/libmpdemux/ai_alsa1x.c Thu Aug 22 23:03:51 2002 +0000 +++ b/libmpdemux/ai_alsa1x.c Thu Aug 22 23:05:58 2002 +0000 @@ -105,7 +105,7 @@ 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; }