BaseParse.finishFrame

Collects parsed data and pushes this downstream. Source pad caps must be set when this is called.

If @frame's out_buffer is set, that will be used as subsequent frame data. Otherwise, @size samples will be taken from the input and used for output, and the output's metadata (timestamps etc) will be taken as (optionally) set by the subclass on @frame's (input) buffer (which is otherwise ignored for any but the above purpose/information).

Note that the latter buffer is invalidated by this call, whereas the caller retains ownership of @frame.

class BaseParse
GstFlowReturn
finishFrame

Parameters

frame BaseParseFrame

a #GstBaseParseFrame

size int

consumed input data represented by frame

Return Value

Type: GstFlowReturn

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

Meta