Buffer.addReferenceTimestampMeta

gst.reference_timestamp_meta.ReferenceTimestampMeta addReferenceTimestampMeta(gst.caps.Caps reference, gst.types.ClockTime timestamp, gst.types.ClockTime duration) nothrow

Adds a #GstReferenceTimestampMeta to buffer that holds a timestamp and optionally duration based on a specific timestamp reference. See the documentation of #GstReferenceTimestampMeta for details.

Parameters

referenceidentifier for the timestamp reference.
timestamptimestamp
durationduration, or gst.types.CLOCK_TIME_NONE

Returns

The #GstReferenceTimestampMeta that was added to the buffer