Gst.Structure.prototype.get_clock_time
function get_clock_time(fieldname:String):Boolean { // Gjs wrapper for gst_structure_get_clock_time() }
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.
- fieldname
the name of a field
- Returns
TRUE if the value could be set correctly. If there was no field with fieldname or the existing field did not contain a Gst.ClockTime, this function returns FALSE.