Gets the memory block at index idx in buffer.
an index
a #GstMemory that contains the data of the memory block at idx.
Gets the memory block at index idx in buffer.