appsrc: Correctly check if this is the first buffer that was queued
By checking the queue length this would also count events and caps. We already keep track of the number of buffers separately so just use that.
By checking the queue length this would also count events and caps. We already keep track of the number of buffers separately so just use that.