Author: rshortt
Date: Wed Mar  8 16:29:35 2006
New Revision: 8058

Modified:
   trunk/tvdev/src/analog.py

Log:
Config updates.


Modified: trunk/tvdev/src/analog.py
==============================================================================
--- trunk/tvdev/src/analog.py   (original)
+++ trunk/tvdev/src/analog.py   Wed Mar  8 16:29:35 2006
@@ -59,13 +59,15 @@
         self.driver = 'unknown'
 
         self._cfg_add([
-            Var(name='norm', type=('pal', 'ntsc'), default='pal',
-                desc=_('TV norm (pal or ntsc)')),
+            Var(name='norm', type=('PAL', 'NTSC'), default='PAL',
+                desc=_('TV norm (PAL or NTSC)')),
+            Var(name='input', default=0,
+                desc=_('The input number for capturing.')),
             Var(name='chanlist', type=CHANLIST.keys(), default='europe-west',
                 desc=_('Channel frequency list. Possible values are') + \
                 ' ' + ' '.join(CHANLIST.keys())) ])
 
-        self.tuner = V4L(self.vdev, self.norm, self.chanlist)
+        self.tuner = V4L(str(self.vdev), str(self.norm), self.chanlist)
         self.name = self.tuner.card
 
         # The capture resolution.  The driver should have a default and 
probably


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to