AudioEncoder.setAllocationCaps

Sets a caps in allocation query which are different from the set pad's caps. Use this function before calling gstaudio.audio_encoder.AudioEncoder.negotiate. Setting to null the allocation query will use the caps from the pad.

class AudioEncoder
void
setAllocationCaps

Parameters

allocationCaps gst.caps.Caps

a #GstCaps or null