Pipeline.getClock

Gets the current clock used by pipeline. Users of object oriented languages should use Pipeline.getPipelineClock to avoid confusion with Element.getClock which has a different behavior.

Unlike Element.getClock, this function will always return a clock, even if the pipeline is not in the PLAYING state.

class Pipeline
override
getClock
()

Return Value

Type: Clock

a gstreamer.Clock, unref after usage.