finish_frame


Description:

public FlowReturn finish_frame (owned Buffer? buf, int frames)

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 handle_frame may be invalidated by a call to this function.

Parameters:

this

a Decoder

buf

decoded data

frames

number of decoded frames represented by decoded data

Returns:

a FlowReturn that should be escalated to caller (of caller)




2022 vala-language.org