VideoCodecFrame.this
this
(uint systemFrameNumber = uint.init, gst.types.ClockTime dts = gst.types.ClockTime.init, gst.types.ClockTime pts = gst.types.ClockTime.init, gst.types.ClockTime duration = gst.types.ClockTime.init, int distanceFromSync = int.init, gst.buffer.Buffer inputBuffer = gst.buffer.Buffer.init, gst.buffer.Buffer outputBuffer = gst.buffer.Buffer.init, gst.types.ClockTime deadline = gst.types.ClockTime.init)Create a video_codec_frame.VideoCodecFrame boxed type.
Parameters
systemFrameNumber | 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 [gstvideo.video_decoder.VideoDecoder.getFrame] |
dts | Decoding timestamp |
pts | Presentation timestamp |
duration | Duration of the frame |
distanceFromSync | Distance in frames from the last synchronization point. |
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. |
outputBuffer | 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. |
deadline | Running time when the frame will be used. |