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