Class (GI Struct)

GstVideo-1.0GstVideoVideoCodecFrame

A GstVideo.VideoCodecFrame represents a video frame both in raw and encoded form.

Index

Constructors

Properties

deadline: number
distance_from_sync: number
dts: number
duration: number
pts: number
system_frame_number: number

Methods

  • Gets private data set on the frame by the subclass via gst_video_codec_frame_set_user_data() previously.

    Returns any

    The previously set user_data

  • Sets user_data on the frame and the GLib.DestroyNotify 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.

    Parameters

    • Optionaluser_data: any

      private data

    Returns void