[ Version ( since = "1.16" ) ]
public FlowReturn finish_subframe (owned Buffer? buf)
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
finish_subframe 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 handle_frame may be invalidated by a call to this function.
this |
a Decoder |
buf |
decoded data |
a FlowReturn that should be escalated to caller (of caller) |