Buffer.addReferenceTimestampMeta
gst.reference_timestamp_meta.ReferenceTimestampMeta addReferenceTimestampMeta(gst.caps.Caps reference, gst.types.ClockTime timestamp, gst.types.ClockTime duration)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 | identifier for the timestamp reference. |
timestamp | timestamp |
duration | duration, or [gst.types.CLOCK_TIME_NONE] |
Returns
The #GstReferenceTimestampMeta that was added to the buffer