gstsystemclock.h   gstsystemclock.h 
skipping to change at line 31 skipping to change at line 31
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GST_SYSTEM_CLOCK_H__ #ifndef __GST_SYSTEM_CLOCK_H__
#define __GST_SYSTEM_CLOCK_H__ #define __GST_SYSTEM_CLOCK_H__
#include <gst/gstclock.h> #include <gst/gstclock.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_SYSTEM_CLOCK (gst_system_clock_get_type ( #define GST_TYPE_SYSTEM_CLOCK (gst_system_clock_get_type
)) ())
#define GST_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST #define GST_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST
((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClock)) ((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClock))
#define GST_SYSTEM_CLOCK_CAST(obj) ((GstSystemClock *)(obj)) #define GST_SYSTEM_CLOCK_CAST(obj) ((GstSystemClock *)(obj))
#define GST_IS_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE #define GST_IS_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), GST_TYPE_SYSTEM_CLOCK)) ((obj), GST_TYPE_SYSTEM_CLOCK))
#define GST_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k #define GST_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((
lass), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass)) klass), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass))
#define GST_IS_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k #define GST_IS_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((
lass), GST_TYPE_SYSTEM_CLOCK)) klass), GST_TYPE_SYSTEM_CLOCK))
#define GST_SYSTEM_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( #define GST_SYSTEM_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
(obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass)) ((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass))
typedef struct _GstSystemClock GstSystemClock; typedef struct _GstSystemClock GstSystemClock;
typedef struct _GstSystemClockClass GstSystemClockClass; typedef struct _GstSystemClockClass GstSystemClockClass;
typedef struct _GstSystemClockPrivate GstSystemClockPrivate; typedef struct _GstSystemClockPrivate GstSystemClockPrivate;
/** /**
* GstClockType: * GstClockType:
* @GST_CLOCK_TYPE_REALTIME: time since Epoch * @GST_CLOCK_TYPE_REALTIME: time since Epoch
* @GST_CLOCK_TYPE_MONOTONIC: monotonic time since some unspecified startin g * @GST_CLOCK_TYPE_MONOTONIC: monotonic time since some unspecified startin g
* point * point
* *
* The different kind of clocks. * The different kind of clocks.
*/ */
typedef enum { typedef enum {
GST_CLOCK_TYPE_REALTIME = 0, GST_CLOCK_TYPE_REALTIME = 0,
GST_CLOCK_TYPE_MONOTONIC = 1 GST_CLOCK_TYPE_MONOTONIC = 1
} GstClockType; } GstClockType;
/** /**
* GstSystemClock: * GstSystemClock:
* @clock: The parent clock * @clock: The parent clock
* *
* The default implementation of a #GstClock that uses the system time. * The default implementation of a #GstClock that uses the system time.
*/ */
struct _GstSystemClock { struct _GstSystemClock {
GstClock clock; GstClock clock;
/*< private >*/ /*< private >*/
GThread *thread; /* thread for async notify */ GThread *thread; /* thread for async notify */
gboolean stopping; gboolean stopping;
/* ABI added */ /* ABI added */
GstSystemClockPrivate *priv; GstSystemClockPrivate *priv;
gpointer _gst_reserved[GST_PADDING - 1]; gpointer _gst_reserved[GST_PADDING - 1];
}; };
struct _GstSystemClockClass { struct _GstSystemClockClass {
GstClockClass parent_class; GstClockClass parent_class;
/*< private >*/ /*< private >*/
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
}; };
GType gst_system_clock_get_type (void); GType gst_system_clock_get_type (void);
GstClock* gst_system_clock_obtain (void); GstClock* gst_system_clock_obtain (void);
G_END_DECLS G_END_DECLS
#endif /* __GST_SYSTEM_CLOCK_H__ */ #endif /* __GST_SYSTEM_CLOCK_H__ */
 End of changes. 6 change blocks. 
20 lines changed or deleted 20 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/