[mythtv-users] PATCH for M179 on ivtv-0.6.1
Dennis Lou
dlou99 at yahoo.com
Tue Apr 11 06:11:15 UTC 2006
The Aver M179 has a broken volume control.
In earlier versions of ivtv, you could set
the volume but it wouldn't do anything. It
would always remain at 65535. In ivtv 0.6.1
volume control for the M179 has been disabled.
However, Myth will abort opening mpeg recorder if
it can't set the volume. This proposed patch
allows it to continue in this case.
-Dennis
Index: mpegrecorder.cpp
===================================================================
--- mpegrecorder.cpp (revision 9667)
+++ mpegrecorder.cpp (working copy)
@@ -363,9 +363,8 @@
if (ioctl(chanfd, VIDIOC_S_CTRL, &ctrl) < 0)
{
- cerr << "Error setting codec params\n";
+ cerr << "Can't set audio volume (are you
using an M179?\n";
perror("VIDIOC_S_CTRL:");
- return false;
}
if (vbimode) {
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the mythtv-users
mailing list