Steal the ref to the buffer currently queued in this.
the pad to get buffer from
The buffer in this or NULL if no buffer was queued. You should unref the buffer after usage.