AudioDecoder.setOutputCaps

Configure output caps on the srcpad of dec. Similar to gstaudio.audio_decoder.AudioDecoder.setOutputFormat, but allows subclasses to specify output caps that can't be expressed via #GstAudioInfo e.g. caps that have caps features.

class AudioDecoder
bool
setOutputCaps

Parameters

caps gst.caps.Caps

(fixed) #GstCaps

Return Value

Type: bool

true on success.