get_clock


Description:

public Clock get_clock ()

Gets the current clock used by this.

Users of object oriented languages should use get_pipeline_clock to avoid confusion with get_clock which has a different behavior.

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

Parameters:

this

a Pipeline

Returns:

a Clock, unref after usage.