v4l2: Let the device object manage the pool
Rename start and stop methods to open and close because that is what they do. After setting the format on the device object, setup the bufferpools. Move this code from the v4l2src_calls.c file, it is shared between source and sink. Make new device start and stop method that merges various bits of common code spread over several files.
Showing with 213 additions and 327 deletions