Next: , Previous: GstStructure, Up: Top


34 GstSystemClock

Default clock that uses the current system time

34.1 Overview

The GStreamer core provides a GstSystemClock based on the system time. Asynchronous callbacks are scheduled from an internal thread.

Clock implementors are encouraged to subclass this systemclock as it implements the async notification.

Subclasses can however override all of the important methods for sync and async notifications to implement their own callback methods or blocking wait operations.

Last reviewed on 2006-03-08 (0.10.4)

34.2 Usage

— Class: <gst-system-clock>

This <gobject> class defines no properties, other than those defined by its superclasses.

— Function: gst-system-clock-obtain   (ret <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.

ret
the default clock. MT safe.