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