Running time when the frame will be used.
Distance in frames from the last synchronization point.
Decoding timestamp
Duration of the frame
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.
the output #GstBuffer. Implementations should set this either directly, or by using the gst_video_decoder_allocate_output_frame() or gst_video_decoder_allocate_output_buffer() methods. The buffer is owned by the frame and references to the frame instead of the buffer should be kept.
Presentation timestamp
Unique identifier for the frame. Use this if you need to get hold of the frame later (like when data is being decoded). Typical usage in decoders is to set this on the opaque value provided to the library and get back the frame using gst_video_decoder_get_frame()
Gets private data set on the frame by the subclass via gst_video_codec_frame_set_user_data() previously.
Increases the refcount of the given frame by one.
Sets user_data
on the frame and the #GDestroyNotify that will be called when
the frame is freed. Allows to attach private data by the subclass to frames.
If a user_data
was previously set, then the previous set notify
will be called
before the user_data
is replaced.
a #GDestroyNotify
Decreases the refcount of the frame. If the refcount reaches 0, the frame will be freed.
A #GstVideoCodecFrame represents a video frame both in raw and encoded form.