DateTime.compare

A comparison function for gstreamer.DateTimes that is suitable as a GCompareFunc Both gstreamer.DateTimes must be non-NULL.

class DateTime
static
int
compare

Parameters

dt1 DateTime

first gstreamer.DateTime to compare

dt2 DateTime

second gstreamer.DateTime to compare

Return Value

Type: int

-1, 0 or 1 if dt1 is less than, equal to or greater than dt2.

Meta

Since

2.26