[mythtv-commits] Ticket #2238: Mute logic fails on cards using v4l1-compat

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


#2238: Mute logic fails on cards using v4l1-compat
--------------------------------+-------------------------------------------
 Reporter:  devel at mrwire.co.uk  |        Owner:  danielk
     Type:  patch               |       Status:  closed 
 Priority:  minor               |    Milestone:  0.21   
Component:  mythtv              |      Version:  head   
 Severity:  medium              |   Resolution:  fixed  
--------------------------------+-------------------------------------------
Changes (by danielk):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [11376]) 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).

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2238#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list