AudioDecoder.finishSubframe
gst.types.FlowReturn finishSubframe(gst.buffer.Buffer buf = null)Collects decoded data and pushes it downstream. This function may be called multiple times for a given input frame.
buf may be NULL in which case it is assumed that the current input frame is finished. This is equivalent to calling [gstaudio.audio_decoder.AudioDecoder.finishSubframe] with a NULL buffer and frames=1 after having pushed out all decoded audio subframes using this function.
When called with valid data in buf the source pad caps must have been set already.
Note that a frame received in #GstAudioDecoderClass.handle_frame() may be invalidated by a call to this function.
Parameters
buf | decoded data |
Returns
a #GstFlowReturn that should be escalated to caller (of caller)