AudioDecoder.finishFrame

Collects decoded data and pushes it downstream.

buf may be NULL in which case the indicated number of frames are discarded and considered to have produced no output (e.g. lead-in or setup frames). Otherwise, source pad caps must be set when it is called with valid data in buf.

Note that a frame received in #GstAudioDecoderClass.handle_frame() may be invalidated by a call to this function.

class AudioDecoder
finishFrame

Parameters

buf gst.buffer.Buffer

decoded data

frames int

number of decoded frames represented by decoded data

Return Value

Type: gst.types.FlowReturn

a #GstFlowReturn that should be escalated to caller (of caller)