[mythtv-commits] mythtv commit: r11376 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Oct 1 19:56:41 UTC 2006


      Author: danielk
        Date: 2006-10-01 19:56:13 +0000 (Sun, 01 Oct 2006)
New Revision: 11376
   Changeset: http://cvs.mythtv.org/trac/changeset/11376

Modified:

   trunk/mythtv/libs/libmythtv/NuppelVideoRecorder.cpp

Log:

Fixes #2238. Workaround for Linux kernel bug in v4l-compat.

The problem is that the Linux kernel doesn't properly report the presence or absence of audio capture hardware when using v4l-compat. But if you try to get the volume level and mute status it will return it if audio hardware is present. So the workaround is fairly simple, we just check the volume first and use the sometimes flaky flag to decide whether a failure should be reported as an error or a warning. If the kernel says there is audio hardware we report an error when the audio get fails, otherwise you need to run with "-v audio" to see the error message (since this will fail normally with most frame-grabbers).






More information about the mythtv-commits mailing list