Thanks for your answer. It is not my goal to write my own VideoCapture class. When I know exactly how the buffers are handled, then I know what I can do with the current implementation. So that I do not have to write my own code for that.
So is there some document describing in more detail how it currently works?