Function rs2_keep_frame

Function Documentation

void rs2_keep_frame(rs2_frame *frame)

communicate to the library you intend to keep the frame alive for a while this will remove the frame from the regular count of the frame pool once this function is called, the SDK can no longer guarantee 0-allocations during frame cycling

Parameters:

frame[in] handle returned from a callback