finish_frame


Description:

public FlowReturn finish_frame (owned CodecFrame frame)

frame should have a valid decoded data buffer, whose metadata fields are then appropriately set according to frame data and pushed downstream.

If no output data is provided, frame is considered skipped. In any case, the frame is considered finished and released.

After calling this function the output buffer of the frame is to be considered read-only. This function will also change the metadata of the buffer.

Parameters:

this

a Decoder

frame

a decoded CodecFrame

Returns:

a FlowReturn resulting from sending data downstream