GstVideoCodecFrame.inputBuffer

the input #GstBuffer that created this frame. The buffer is owned by the frame and references to the frame instead of the buffer should be kept.

struct GstVideoCodecFrame
GstBuffer* inputBuffer;