Commit a99a814
committed
fakenect: replay index in an endless loop
When the last line has been handled then the index gets closed and any
'prev' state is reset so that the next call to freenect_process_events
will re-open the index and start again from the first frame.
Since the Kinect camera doesn't normally spontaneously stop this seems
like a more natural behaviour.
Signed-off-by: Robert Bragg <[email protected]>1 parent bb09e3b commit a99a814
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
216 | 221 | | |
217 | 222 | | |
218 | 223 | | |
| |||
0 commit comments