add_reference_timestamp_meta


Description:

[ Version ( since = "1.14" ) ]
public unowned ReferenceTimestampMeta? add_reference_timestamp_meta (Caps reference, ClockTime timestamp, ClockTime duration)

Adds a ReferenceTimestampMeta to this that holds a timestamp and optionally duration based on a specific timestamp reference.

See the documentation of ReferenceTimestampMeta for details.

Parameters:

this

a Buffer

reference

identifier for the timestamp reference.

timestamp

timestamp

duration

duration, or CLOCK_TIME_NONE

Returns:

The ReferenceTimestampMeta that was added to the buffer