finish_frame
Description:
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
.
Parameters:
this |
a Parse |
frame | |
size |
consumed input data represented by frame |
Returns:
a FlowReturn that should be escalated to caller (of caller) |