Helper function that allocates a buffer to hold an encoded video frame for encoder's current #GstVideoCodecState.
size of the buffer
allocated buffer
Helper function that allocates a buffer to hold an encoded video frame for encoder's current #GstVideoCodecState.