Buffer.setCaps

Sets the media type on the buffer. The refcount of the caps will be increased and any previous caps on the buffer will be unreffed.

class Buffer
void
setCaps

Parameters

caps Caps

a GstCaps.

Meta