[MPlayer-cvslog] r19300 - trunk/stream/stream_pvr.c
ben
subversion at mplayerhq.hu
Thu Aug 3 20:59:37 CEST 2006
Author: ben
Date: Thu Aug 3 20:59:37 2006
New Revision: 19300
Modified:
trunk/stream/stream_pvr.c
Log:
correctly report audio input
Modified: trunk/stream/stream_pvr.c
==============================================================================
--- trunk/stream/stream_pvr.c (original)
+++ trunk/stream/stream_pvr.c Thu Aug 3 20:59:37 2006
@@ -801,16 +801,8 @@
/* get current audio input */
if (ioctl (pvr->dev_fd, VIDIOC_G_AUDIO, &vaudio) == 0)
{
- vaudio.index = input;
- if (ioctl (pvr->dev_fd, VIDIOC_ENUMAUDIO, &vaudio) < 0)
- {
- mp_msg (MSGT_OPEN, MSGL_ERR,
- "%s can't get input (%s).\n", LOG_LEVEL_V4L2, strerror (errno));
- return -1;
- }
- else
- mp_msg (MSGT_OPEN, MSGL_INFO,
- "%s Audio input: %s\n", LOG_LEVEL_V4L2, vaudio.name);
+ mp_msg (MSGT_OPEN, MSGL_INFO,
+ "%s Audio input: %s\n", LOG_LEVEL_V4L2, vaudio.name);
}
else
{
More information about the MPlayer-cvslog
mailing list