Skip to content

Kinect blocks on events (osx) #229

@fernLightning

Description

@fernLightning

Occurs on shutdown, freenect_process_events(), freenect_stop_depth(), freenect_stop_video(), or on shutdown if had iso errors during init....

Current solution so far (for osx), modified usb_libusb10.c

  • replaced all instances of "libusb_handle_events(..)", with "struct timeval tv = {.tv_sec=1, .tv_usec=0}; libusb_handle_events_timeout(..)" to make things timeout faster.
    • made fnusb_start_iso() do a "strm->dead_xfers++;" when it "Failed to submit isochronous transfer" - to ensure shutdown waits on the correct number of events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions