Structure.getClockTime

bool getClockTime(string fieldname, out gst.types.ClockTime value)

Sets the clock time pointed to by value corresponding to the clock time of the given field. Caller is responsible for making sure the field exists and has the correct type.

Parameters

fieldnamethe name of a field
valuea pointer to a #GstClockTime to set

Returns

true if the value could be set correctly. If there was no field

with fieldname or the existing field did not contain a #GstClockTime, this function returns false.