allocate_output_buffer


Description:

public Buffer allocate_output_buffer ()

Helper function that allocates a buffer to hold a video frame for this's current CodecState.

You should use allocate_output_frame instead of this function, if possible at all.

Parameters:

this

a Decoder

Returns:

allocated buffer, or NULL if no buffer could be allocated (e.g. when downstream is flushing or shutting down)