Class: Gst::SystemClock
- Defined in:
- (unknown)
Direct Known Subclasses
Class Method Summary collapse
-
.default=(new_clock) ⇒ nil
Sets the default system clock that can be obtained with gst_system_clock_obtain().
-
.obtain ⇒ Gst::Clock
Get a handle to the default system clock.
Instance Method Summary collapse
Methods inherited from Clock
#add_observation, #add_observation_unapplied, #adjust_unlocked, #adjust_with_calibration, #get_calibration, id_compare_func, id_get_clock, id_get_time, id_ref, id_unref, id_unschedule, id_uses_clock, id_wait, id_wait_async, #internal_time, #is_synced, #master, #master=, #new_periodic_id, #new_single_shot_id, #periodic_id_reinit, #resolution, #resolution=, #set_calibration, #single_shot_id_reinit, #synced=, #time, #timeout, #timeout=, #unadjust_unlocked, #unadjust_with_calibration, #wait_for_sync, #window_size, #window_size=, #window_threshold, #window_threshold=
Methods inherited from Object
#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref
Class Method Details
.default=(new_clock) ⇒ nil
Sets the default system clock that can be obtained with gst_system_clock_obtain().
This is mostly used for testing and debugging purposes when you want to have control over the time reported by the default system clock.
MT safe.
.obtain ⇒ Gst::Clock
Get a handle to the default system clock. The refcount of the clock will be increased so you need to unref the clock after usage. MT safe.
Instance Method Details
#clock_type ⇒ Gst::ClockType
Returns clock-type.