Clock.setResolution

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.

class Clock
setResolution

Parameters

resolution GstClockTime

The resolution to set

Return Value

the new resolution of the clock.