Author: duncan
Date: Sat Sep 30 13:52:18 2006
New Revision: 8281
Modified:
branches/rel-1-5/freevo/src/tv/v4l2.py
Log:
[ 1566027 ] Bug in revision 8245 with v4l2 & ivtv
Added try except block to print the settings, this may help to identify bad
config settings.
Modified: branches/rel-1-5/freevo/src/tv/v4l2.py
==============================================================================
--- branches/rel-1-5/freevo/src/tv/v4l2.py (original)
+++ branches/rel-1-5/freevo/src/tv/v4l2.py Sat Sep 30 13:52:18 2006
@@ -229,7 +229,11 @@
def setinput(self, value):
- r = fcntl.ioctl(self.device, i32(SETINPUT_NO), struct.pack(INPUT_ST,
value))
+ try:
+ r = fcntl.ioctl(self.device, i32(SETINPUT_NO),
struct.pack(INPUT_ST, value))
+ except IOError:
+ self.print_settings
+ raise
def querycap(self):
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog