mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 10:04:23 +00:00
systemclock: fix indentation
This commit is contained in:
parent
378b1e30e7
commit
7c054f5f53
1 changed files with 14 additions and 14 deletions
|
@ -29,13 +29,13 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_SYSTEM_CLOCK (gst_system_clock_get_type ())
|
||||
#define GST_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClock))
|
||||
#define GST_SYSTEM_CLOCK_CAST(obj) ((GstSystemClock *)(obj))
|
||||
#define GST_IS_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_SYSTEM_CLOCK))
|
||||
#define GST_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass))
|
||||
#define GST_IS_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_SYSTEM_CLOCK))
|
||||
#define GST_SYSTEM_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass))
|
||||
#define GST_TYPE_SYSTEM_CLOCK (gst_system_clock_get_type ())
|
||||
#define GST_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClock))
|
||||
#define GST_SYSTEM_CLOCK_CAST(obj) ((GstSystemClock *)(obj))
|
||||
#define GST_IS_SYSTEM_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_SYSTEM_CLOCK))
|
||||
#define GST_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass))
|
||||
#define GST_IS_SYSTEM_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_SYSTEM_CLOCK))
|
||||
#define GST_SYSTEM_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_SYSTEM_CLOCK, GstSystemClockClass))
|
||||
|
||||
|
||||
typedef struct _GstSystemClock GstSystemClock;
|
||||
|
@ -51,8 +51,8 @@ typedef struct _GstSystemClockPrivate GstSystemClockPrivate;
|
|||
* The different kind of clocks.
|
||||
*/
|
||||
typedef enum {
|
||||
GST_CLOCK_TYPE_REALTIME = 0,
|
||||
GST_CLOCK_TYPE_MONOTONIC = 1
|
||||
GST_CLOCK_TYPE_REALTIME = 0,
|
||||
GST_CLOCK_TYPE_MONOTONIC = 1
|
||||
} GstClockType;
|
||||
|
||||
/**
|
||||
|
@ -62,11 +62,11 @@ typedef enum {
|
|||
* The default implementation of a #GstClock that uses the system time.
|
||||
*/
|
||||
struct _GstSystemClock {
|
||||
GstClock clock;
|
||||
GstClock clock;
|
||||
|
||||
/*< private >*/
|
||||
GThread *thread; /* thread for async notify */
|
||||
gboolean stopping;
|
||||
GThread *thread; /* thread for async notify */
|
||||
gboolean stopping;
|
||||
|
||||
/* ABI added */
|
||||
GstSystemClockPrivate *priv;
|
||||
|
@ -81,9 +81,9 @@ struct _GstSystemClockClass {
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue