directly, or by using the [gstvideo.video_decoder.VideoDecoder.allocateOutputFrame] or [gstvideo.video_decoder.VideoDecoder.allocateOutputBuffer] methods. The buffer is owned by the frame and references to the frame instead of the buffer should be kept.
VideoCodecFrame.outputBuffer
gst.buffer.Buffer outputBuffer() @propertyGet outputBuffer field.
Returns
the output #GstBuffer. Implementations should set this either
void outputBuffer(gst.buffer.Buffer propval) @propertySet outputBuffer field.
Parameters
propval | the output #GstBuffer. Implementations should set this either directly, or by using the [gstvideo.video_decoder.VideoDecoder.allocateOutputFrame] or [gstvideo.video_decoder.VideoDecoder.allocateOutputBuffer] methods. The buffer is owned by the frame and references to the frame instead of the buffer should be kept. |