Author: duncan
Date: Sat Jan 20 17:06:42 2007
New Revision: 9012
Modified:
branches/rel-1/freevo/src/tv/v4l2.py
Log:
Changed the test harness code to determine if there was a problem with setfreq
Modified: branches/rel-1/freevo/src/tv/v4l2.py
==============================================================================
--- branches/rel-1/freevo/src/tv/v4l2.py (original)
+++ branches/rel-1/freevo/src/tv/v4l2.py Sat Jan 20 17:06:42 2007
@@ -667,7 +667,7 @@
if __name__ == '__main__':
- DEBUG = 0
+ DEBUG = 4
viddev=Videodev('/dev/video0')
print 'Driver = \"%s\"' % viddev.getdriver()
print 'Driver Version = %x' % viddev.getversion()
@@ -742,6 +742,7 @@
#viddev.setextctrl(0x00990900, stream_type)
print 'Stream Type = %d' % viddev.getcontrol('Stream Type')
print '0x00990900 = %d' % viddev.getextctrl(0x00990900)
+ print 'getfreq:', viddev.getfreq()
viddev.close()
@@ -754,4 +755,6 @@
export FREEVO_CONTRIB=/usr/share/freevo/contrib
export RUNAPP=""
python v4l2.py
+OR
+freevo execute v4l2.py
'''
-------------------------------------------------------------------------
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