# Class e.c.p.NewClock(message.Message):

Part of elisa.core.player View In Hierarchy

This message is triggered everytime the engine gets a new Clock. It is independent from any trigger_message-settings. It is simply always send, when gstreamer finds a new one. Even this message is send by the engine, please think, that the message_sender is maybe overritten.

Instance Variables | clock | the new clock that was found (type: `gst.Clock` )

Line # | Kind | Name | Docs
--- | --- | --- | ---
124 | Method | __init__ | set the clock to clock. This is the new clock, the engine is using.

def __init__(self, clock):
set the clock to clock. This is the new clock, the engine is using.