BradTotaro / python-video4linux2

Automatically exported from code.google.com/p/python-video4linux2
0 stars 0 forks source link

Examples call SetStandard even when not supported #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
SetStandard isn't supported by webcams. Catch the exception and check the
error number. If it's 22, print a notice that the device does not support
setting standard, otherwise re-raise exception.

SVN r15

recordpics.py:52: d.SetStandard( d.standards['NTSC'] )
streampics.py:56: d.SetStandard( d.standards['NTSC'] )

Original issue reported on code.google.com by shreddu@gmail.com on 27 Feb 2009 at 9:45