VideoDecoder.allocateOutputBuffer

Helper function that allocates a buffer to hold a video frame for decoder's current #GstVideoCodecState.

You should use gstvideo.video_decoder.VideoDecoder.allocateOutputFrame instead of this function, if possible at all.

class VideoDecoder
allocateOutputBuffer
()

Return Value

Type: gst.buffer.Buffer

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