Since the capturing doesn't do any significant processing, it makes sense to put the scale from capture buffer to encoder input buffer in the capture callback.
…n in series with the VEU scale/blit. Once the shcodecs API is cleaned up it will easy to make this run in parallel.
…sing a queue for capture buffers we can smooth out the time taken to encode frames a little. This commit also has the capture wait code commented out. This is because v4l2 complains that it's "trying to poll with no queued buffers". This is essentially due to this plugin waiting too long to request a capture. This leaves an open question of how we detect whether the v4l2 device will schedule the captures or not.
…r duration of zero.