allocated (e.g. when downstream is flushing or shutting down)
VideoDecoder.allocateOutputBuffer
gst.buffer.Buffer 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.
Returns
allocated buffer, or NULL if no buffer could be