CollectPadsCompareFunction


Description:

[ CCode ( cname = "GstCollectPadsCompareFunction" , instance_pos = 5.9 ) ]
public delegate int CollectPadsCompareFunction (CollectPads pads, CollectData data1, ClockTime timestamp1, CollectData data2, ClockTime timestamp2)

A function for comparing two timestamps of buffers or newsegments collected on one pad.

Parameters:

pads

the CollectPads that is comparing the timestamps

data1

the first CollectData

timestamp1

the first timestamp

data2

the second CollectData

timestamp2

the second timestamp

user_data

user data passed to set_compare_function

Returns:

Integer less than zero when first timestamp is deemed older than the second one. Zero if the timestamps are deemed equally old. Integer greater than zero when second timestamp is deemed older than the first one.


Namespace: Gst.Base