Element.getClock

gst.clock.Clock getClock()

Gets the currently configured clock of the element. This is the clock as was last set with [gst.element.Element.setClock].

Elements in a pipeline will only have their clock set when the pipeline is in the PLAYING state.

Returns

the #GstClock of the element. unref after usage.

MT safe.