Add comments in buffer_capture_cmp