CollectPads.clipRunningTime

Convenience clipping function that converts incoming buffer's timestamp to running time, or clips the buffer if outside configured segment.

Since 1.6, this clipping function also sets the DTS parameter of the GstCollectData structure. This version of the running time DTS can be negative. G_MININT64 is used to indicate invalid value.

class CollectPads
clipRunningTime

Parameters

cdata GstCollectData*

collect data of corresponding pad

buf Buffer

buffer being clipped

outbuf Buffer

output buffer with running time, or NULL if clipped

userData void*

user data (unused)

Meta