GObject.Object
Gst.Object
Gst.Clock
Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstClock |
Class : | Clock |
Extends: | Gst.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
_gst_reserved : void*
read only
|
Gst.Object | |
clockid : void*
read only
|
Gst.Clock | |
entries : Array
read only
|
Gst.Clock | |
entries_changed : GLib.Cond
read only
|
Gst.Clock | |
external_calibration : Number
read only
|
Gst.Clock | |
filling : Boolean
read only
|
Gst.Clock | |
flags : Number
read only
|
Gst.Object | |
internal_calibration : Number
read only
|
Gst.Clock | |
last_time : Number
read only
|
Gst.Clock | |
lock : GLib.Mutex
read only
|
Gst.Object | |
master : Gst.Clock
read only
|
Gst.Clock | |
name : String
|
Gst.Object | |
name_prefix : String
read only
|
Gst.Object | |
object : Gst.Object
read only
|
Gst.Clock | |
parent : Gst.Object
read only
|
Gst.Object | |
rate_denominator : Number
read only
|
Gst.Clock | |
rate_numerator : Number
read only
|
Gst.Clock | |
refcount : Number
read only
|
Gst.Object | |
resolution : Number
read only
|
Gst.Clock | |
slave_lock : GLib.Mutex
read only
|
Gst.Clock | |
stats : Boolean
|
Gst.Clock | |
stats : Boolean
read only
|
Gst.Clock | |
time_index : Number
read only
|
Gst.Clock | |
timeout : Number
|
Gst.Clock | |
timeout : Number
read only
|
Gst.Clock | |
times : Number
read only
|
Gst.Clock | |
window_size : Number
|
Gst.Clock | |
window_size : Number
read only
|
Gst.Clock | |
window_threshold : Number
|
Gst.Clock | |
window_threshold : Number
read only
|
Gst.Clock |
Method / Constructor | Defined By | |
---|---|---|
new Gst.Clock
(Object properties)
Create a new Gst.Clock
Create a new Gst.Clock
|
||
Gst.Clock | ||
Gst.Clock | ||
Gst.Clock.id_unschedule
(void* id)
:
none
Cancel an outstanding request with id.
Cancel an outstanding request with id. This can either be an outstanding async notification or a pending sync notification. After this call, id cannot be used anymore to receive sync or async notifications, you need to create a new GstClockID. MT safe.
|
Gst.Clock | |
|
Gst.Clock | |
Register a callback on the given GstClockID id with the given function and user_data.
Register a callback on the given GstClockID id with the given function and user_data. When passing a GstClockID with an invalid time to this function, the callback will be called immediately with a time set to GST_CLOCK_TIME_NONE. The callback will be called when the time of id has been reached. The callback func can be invoked from any thread, either provided by the core or from a streaming thread. The application should be prepared for this. MT safe.
|
Gst.Clock | |
Gst.Clock | ||
Gst.Clock | ||
Gst.Object | ||
Gst.Clock | ||
get_internal_time
()
:
Number
|
Gst.Clock | |
get_master
()
:
Gst.Clock
|
Gst.Clock | |
get_name
()
:
String
Returns a copy of the name of object.
Returns a copy of the name of object. Caller should g_free() the return value after usage. For a nameless object, this returns NULL, which you can safely g_free() as well. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
get_name_prefix
()
:
String
Returns a copy of the name prefix of object.
Returns a copy of the name prefix of object. Caller should g_free() the return value after usage. For a prefixless object, this returns NULL, which you can safely g_free() as well. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
get_parent
()
:
Gst.Object
Returns the parent of object.
Returns the parent of object. This function increases the refcount of the parent object so you should gst_object_unref() it after usage. MT safe. Grabs and releases object's LOCK.
|
Gst.Object | |
get_path_string
()
:
String
Generates a string describing the path of object in the object hierarchy.
Generates a string describing the path of object in the object hierarchy. Only useful (or used) for debugging. MT safe. Grabs and releases the GstObject's LOCK for all objects in the hierarchy.
|
Gst.Object | |
get_resolution
()
:
Number
|
Gst.Clock | |
get_time
()
:
Number
|
Gst.Clock | |
Check if object has an ancestor ancestor somewhere up in the hierarchy.
Check if object has an ancestor ancestor somewhere up in the hierarchy. MT safe. Grabs and releases object's locks.
|
Gst.Object | |
Gst.Clock | ||
Gst.Clock | ||
replace
(Object newobj)
:
none
Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj.
Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj. Be carefull when calling this function, it does not take any locks. You might want to lock the object owning oldobj pointer before calling this function. Make sure not to LOCK oldobj because it might be unreffed which could cause a deadlock when it is disposed.
|
Gst.Object | |
restore_thyself
(Node self)
:
none
Restores object with the data from the parent XML node.
Restores object with the data from the parent XML node.
|
Gst.Object | |
save_thyself
(Node parent)
:
libxml2.Node
Saves object into the parent XML node.
Saves object into the parent XML node.
|
Gst.Object | |
Gst.Clock | ||
Gst.Clock | ||
Sets the name of object, or gives object a guaranteed unique name (if name is NULL).
Sets the name of object, or gives object a guaranteed unique name (if name is NULL). This function makes a copy of the provided name, so the caller retains ownership of the name it sent. a parent cannot be renamed, this function returns FALSE in those cases. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
set_name_prefix
(String name_prefix)
:
none
Sets the name prefix of object to name_prefix.
Sets the name prefix of object to name_prefix. This function makes a copy of the provided name prefix, so the caller retains ownership of the name prefix it sent. MT safe. This function grabs and releases object's LOCK.
|
Gst.Object | |
Sets the parent of object to parent.
Sets the parent of object to parent. The object's reference count will be incremented, and any floating reference will be removed (see gst_object_sink()). This function causes the parent-set signal to be emitted when the parent was successfully set. already had a parent or object and parent are the same. MT safe. Grabs and releases object's LOCK.
|
Gst.Object | |
Gst.Clock | ||
Gst.Clock | ||
unparent
()
:
none
Clear the parent of object, removing the associated reference.
Clear the parent of object, removing the associated reference. This function decreases the refcount of object. MT safe. Grabs and releases object's lock.
|
Gst.Object |
Event | Defined By | |
---|---|---|
The deep notify signal is used to be notified of property changes.
The deep notify signal is used to be notified of property changes. It is typically attached to the toplevel bin to receive notifications from all the elements contained in that bin.
|
Gst.Object | |
Trigered whenever a new object is saved to XML.
Trigered whenever a new object is saved to XML. You can connect to this signal to insert custom XML tags into the core XML.
|
Gst.Object | |
Emitted when the parent of an object is set.
Emitted when the parent of an object is set.
|
Gst.Object | |
Emitted when the parent of an object is unset.
Emitted when the parent of an object is unset.
|
Gst.Object |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst.Element
Method |
provide_clock
()
:
Gst.Clock
Get the clock provided by the given element.
|
Gst.Element
Method |
get_clock
()
:
Gst.Clock
Gets the currently configured clock of the element.
|
Gst.Element
Method |
Sets the clock for the element.
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Create a new Gst.Message
|
Gst.Message
Method |
Extracts the clock and ready flag from the GstMessage.
|
Gst.Message
Method |
parse_clock_lost
(Clock clock)
:
none
Extracts the lost clock from the GstMessage.
|
Gst.Message
Method |
parse_new_clock
(Clock clock)
:
none
Extracts the new clock from the GstMessage.
|
Gst.Pipeline
Method |
use_clock
(Clock clock)
:
none
Force pipeline to use the given clock.
|
Gst.Pipeline
Method |
Set the clock for pipeline.
|
Gst.Pipeline
Method |
get_clock
()
:
Gst.Clock
Gets the current clock used by pipeline.
|
Gst.SystemClock
Method |
Gst.SystemClock.obtain
()
:
Gst.Clock
Get a handle to the default system clock.
|
GstNet.NetTimeProvider
Property |
clock : Gst.Clock
|
GstNet.NetTimeProvider
Method |
new GstNet.NetTimeProvider.c_new
(Clock clock, String address, Number port)
:
GstNet.NetTimeProvider
Create a new GstNet.NetTimeProvider
|