Commit b6755a70 authored by Committed by Sebastian DrögeBrowse files
Wait for a frame to become available before capturing it
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.
Showing with 95 additions and 2 deletions