teerytko / python-video4linux2

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

Device.Close bad descriptor #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. d = pyv4l2.Device("/dev/video1")
2. d.Close() 
3. # crash NameError: global name 'fd' is not defined

What is the expected output? What do you see instead?
crash NameError: global name 'fd' is not defined

What version of the product are you using? On what operating system?
* SVN r25, Ubuntu 10.O4

Please provide any additional information below.

patch file in attachement

Original issue reported on code.google.com by vincent....@gmail.com on 23 Nov 2011 at 2:30

Attachments: