[ Version ( since = "1.18" ) ]
public FlowReturn finish_subframe (CodecFrame frame)
If multiple subframes are produced for one input frame then use this method for each subframe, except for the last one.
Before calling this function, you need to fill frame->output_buffer with the encoded buffer to push.
You must call finish_frame() for the last sub-frame to tell the encoder that the frame has been fully encoded.
This function will change the metadata of frame and frame->output_buffer will be pushed downstream.
| this |
a Encoder |
| frame |
a CodecFrame being encoded |
|
a FlowReturn resulting from pushing the buffer downstream. |