Skip to content
  • Sjoerd Simons's avatar
    Wait for a frame to become available before capturing it · b6755a70
    Sjoerd Simons authored
    Use GstPoll to wait for the fd of the video device to become readable before
    trying to capture a frame. This speeds up stopping v4l2src a lot as it no
    longer has to wait for the next frame, especially when capturing with low
    framerates or when the video device just never generates a frame (which seems a
    common issue for uvcvideo devices)
    
    Fixes bug #563574.
    b6755a70