Gst.Clock.prototype.set_resolution
function set_resolution(resolution:Gst.ClockTime):Gst.ClockTime { // Gjs wrapper for gst_clock_set_resolution() }
Set the accuracy of the clock. Some clocks have the possibility to operate with different accuracy at the expense of more resource usage. There is normally no need to change the default resolution of a clock. The resolution of a clock can only be changed if the clock has the #GST_CLOCK_FLAG_CAN_SET_RESOLUTION flag set.
- resolution
The resolution to set
- Returns
the new resolution of the clock.