Buffer.addReferenceTimestampMeta

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

reference gst.caps.Caps

identifier for the timestamp reference.

timestamp gst.types.ClockTime

timestamp

duration gst.types.ClockTime

duration, or GST_CLOCK_TIME_NONE

Return Value

Type: gst.reference_timestamp_meta.ReferenceTimestampMeta

The #GstReferenceTimestampMeta that was added to the buffer