Function rs2_poll_for_frame
Defined in File rs_processing.h
Function Documentation
-
int rs2_poll_for_frame(rs2_frame_queue *queue, rs2_frame **output_frame, rs2_error **error)
poll if a new frame is available and dequeue if it is
- Parameters:
queue – [in] the frame queue data structure
output_frame – [out] frame handle to be released using rs2_release_frame
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
true if new frame was stored to output_frame