iquadtree / python-video4linux2

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

pyv4l2 'StartStreamng' is blocking (ie. not threaded) #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The call to 'StartStreaming' is blocking, that is it does not return until
the CallBackFunction returns false.

Should (in my opinion) be a threaded system where 'StartStreaming' creates
a task/thread/process which handle the capture of the image from the
hardware into a buffer. 

You would also need a 'StopStreaming' method to enable interrupting it
without doing it in the CallBackFunction.

Original issue reported on code.google.com by mungew...@gmail.com on 6 Feb 2009 at 4:29