gstclock.h 14.5 KB
Newer Older
1 2 3
/* GStreamer
 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
 *                    2000 Wim Taymans <wtay@chello.be>
4
 *                    2005 Wim Taymans <wim@fluendo.com>
5 6
 *
 * gstclock.h: Header for clock subsystem
Wim Taymans's avatar
Wim Taymans committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __GST_CLOCK_H__
#define __GST_CLOCK_H__

27 28
#include <gst/gstobject.h>

29
G_BEGIN_DECLS
30

Wim Taymans's avatar
Wim Taymans committed
31
/* --- standard type macros --- */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
32 33 34 35 36 37 38
#define GST_TYPE_CLOCK			(gst_clock_get_type ())
#define GST_CLOCK(clock)		(G_TYPE_CHECK_INSTANCE_CAST ((clock), GST_TYPE_CLOCK, GstClock))
#define GST_IS_CLOCK(clock)		(G_TYPE_CHECK_INSTANCE_TYPE ((clock), GST_TYPE_CLOCK))
#define GST_CLOCK_CLASS(cclass)		(G_TYPE_CHECK_CLASS_CAST ((cclass), GST_TYPE_CLOCK, GstClockClass))
#define GST_IS_CLOCK_CLASS(cclass)	(G_TYPE_CHECK_CLASS_TYPE ((cclass), GST_TYPE_CLOCK))
#define GST_CLOCK_GET_CLASS(clock)	(G_TYPE_INSTANCE_GET_CLASS ((clock), GST_TYPE_CLOCK, GstClockClass))
#define GST_CLOCK_CAST(clock)		((GstClock*)(clock))
39

40 41 42
#define GST_CLOCK_SLAVE_LOCK(clock)	g_mutex_lock (GST_CLOCK_CAST (clock)->slave_lock)
#define GST_CLOCK_SLAVE_UNLOCK(clock)	g_mutex_unlock (GST_CLOCK_CAST (clock)->slave_lock)

43 44 45 46 47
/**
 * GstClockTime:
 *
 * A datatype to hold a time, measured in nanoseconds.
 */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
48
typedef guint64	GstClockTime;
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
49

Wim Taymans's avatar
Wim Taymans committed
50 51 52 53 54
/**
 * GST_TYPE_CLOCK_TIME:
 *
 * The GType of a GstClockTime.
 */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
55 56
#define GST_TYPE_CLOCK_TIME G_TYPE_UINT64

57 58 59 60 61
/**
 * GstClockTimeDiff:
 *
 * A datatype to hold a timedifference, measured in nanoseconds.
 */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
62
typedef gint64 GstClockTimeDiff;
63 64 65
/**
 * GstClockID:
 *
66
 * A datatype to hold the handle to an outstanding sync or async clock callback.
67
 */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
68
typedef gpointer GstClockID;
Wim Taymans's avatar
Wim Taymans committed
69

70 71 72
/**
 * GST_CLOCK_TIME_NONE:
 *
Wim Taymans's avatar
Wim Taymans committed
73
 * Constant to define an undefined clock time.
74
 */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
75
#define GST_CLOCK_TIME_NONE		((GstClockTime) -1)
76 77 78 79
/**
 * GST_CLOCK_TIME_IS_VALID:
 * @time: clock time to validate
 *
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
80
 * Tests if a given #GstClockTime represents a valid defined time.
81
 */
82
#define GST_CLOCK_TIME_IS_VALID(time)	((time) != GST_CLOCK_TIME_NONE)
Wim Taymans's avatar
Wim Taymans committed
83

84 85 86
/**
 * GST_SECOND:
 *
Wim Taymans's avatar
Wim Taymans committed
87
 * Constant that defines one GStreamer second.
88
 */
89
#define GST_SECOND  (G_USEC_PER_SEC * G_GINT64_CONSTANT (1000))
90 91 92
/**
 * GST_MSECOND:
 *
Wim Taymans's avatar
Wim Taymans committed
93
 * Constant that defines one GStreamer millisecond.
94
 */
95
#define GST_MSECOND (GST_SECOND / G_GINT64_CONSTANT (1000))
96 97 98
/**
 * GST_USECOND:
 *
Wim Taymans's avatar
Wim Taymans committed
99
 * Constant that defines one GStreamer microsecond.
100
 */
101
#define GST_USECOND (GST_SECOND / G_GINT64_CONSTANT (1000000))
102 103 104 105 106
/**
 * GST_NSECOND:
 *
 * Constant that defines one GStreamer nanosecond
 */
107
#define GST_NSECOND (GST_SECOND / G_GINT64_CONSTANT (1000000000))
108

109 110 111 112 113
/**
 * GST_CLOCK_DIFF:
 * @s: the first time
 * @e: the second time
 *
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
114
 * Calculate a difference between two clock times as a #GstClockTimeDiff.
115
 */
116
#define GST_CLOCK_DIFF(s, e)		(GstClockTimeDiff)((e) - (s))
117 118 119 120 121

/**
 * GST_TIMEVAL_TO_TIME:
 * @tv: the timeval to convert
 *
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
122
 * Convert a GTimeVal to a #GstClockTime.
123
 */
124
#define GST_TIMEVAL_TO_TIME(tv)		((tv).tv_sec * GST_SECOND + (tv).tv_usec * GST_USECOND)
125

126 127 128 129 130
/**
 * GST_TIME_TO_TIMEVAL:
 * @t: The GstClockTime to convert
 * @tv: The target timeval
 *
131 132 133 134
 * Note: on 32-bit systems, a timeval has a range of only 2^32 - 1 seconds,
 * which is about 68 years.  Expect trouble if you want to schedule stuff
 * in your pipeline for 2038.
 *
135 136
 * Convert a GstClockTime to a GTimeVal
 */
137 138 139 140 141 142
#define GST_TIME_TO_TIMEVAL(t,tv)				\
G_STMT_START {							\
  (tv).tv_sec  = ((GstClockTime) (t)) / GST_SECOND;		\
  (tv).tv_usec = (((GstClockTime) (t)) -			\
                  ((GstClockTime) (tv).tv_sec) * GST_SECOND)	\
                 / GST_USECOND;					\
143
} G_STMT_END
Wim Taymans's avatar
Wim Taymans committed
144

145 146 147 148
/**
 * GST_TIMESPEC_TO_TIME:
 * @ts: the timespec to convert
 *
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
149
 * Convert a struct timespec (see man pselect) to a #GstClockTime.
150
 */
151
#define GST_TIMESPEC_TO_TIME(ts)		((ts).tv_sec * GST_SECOND + (ts).tv_nsec * GST_NSECOND)
152 153 154 155 156
/**
 * GST_TIME_TO_TIMESPEC:
 * @t: The GstClockTime to convert
 * @ts: The target timespec
 *
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
157
 * Convert a #GstClockTime to a struct timespec (see man pselect)
158
 */
159
#define GST_TIME_TO_TIMESPEC(t,ts)			\
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
160
G_STMT_START {						\
161
  (ts).tv_sec  =  (t) / GST_SECOND;			\
162
  (ts).tv_nsec = ((t) - (ts).tv_sec * GST_SECOND) / GST_NSECOND;	\
163 164 165
} G_STMT_END

/* timestamp debugging macros */
Wim Taymans's avatar
Wim Taymans committed
166 167 168 169 170 171
/**
 * GST_TIME_FORMAT:
 *
 * A format that can be used in printf like format strings to format
 * a GstClockTime value.
 */
172
#define GST_TIME_FORMAT "u:%02u:%02u.%09u"
Wim Taymans's avatar
Wim Taymans committed
173 174
/**
 * GST_TIME_ARGS:
175
 * @t: a #GstClockTime
Wim Taymans's avatar
Wim Taymans committed
176
 *
177
 * Format @t for the GST_TIME_FORMAT format string.
Wim Taymans's avatar
Wim Taymans committed
178
 */
179
#define GST_TIME_ARGS(t) \
180 181 182 183 184 185 186 187
        GST_CLOCK_TIME_IS_VALID (t) ? \
        (guint) (((GstClockTime)(t)) / (GST_SECOND * 60 * 60)) : 99, \
        GST_CLOCK_TIME_IS_VALID (t) ? \
        (guint) ((((GstClockTime)(t)) / (GST_SECOND * 60)) % 60) : 99, \
        GST_CLOCK_TIME_IS_VALID (t) ? \
        (guint) ((((GstClockTime)(t)) / GST_SECOND) % 60) : 99, \
        GST_CLOCK_TIME_IS_VALID (t) ? \
        (guint) (((GstClockTime)(t)) % GST_SECOND) : 999999999
188

189 190 191 192 193
/**
 * GST_CLOCK_ENTRY_TRACE_NAME:
 *
 * The name used for tracing clock entry allocations.
 */
Wim Taymans's avatar
Wim Taymans committed
194 195
#define GST_CLOCK_ENTRY_TRACE_NAME "GstClockEntry"

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
196 197 198
typedef struct _GstClockEntry	GstClockEntry;
typedef struct _GstClock	GstClock;
typedef struct _GstClockClass	GstClockClass;
Wim Taymans's avatar
Wim Taymans committed
199

Wim Taymans's avatar
Wim Taymans committed
200
/* --- prototype for async callbacks --- */
201 202 203 204 205 206 207 208 209 210 211
/**
 * GstClockCallback:
 * @clock: The clock that triggered the callback
 * @time: The time it was triggered
 * @id: The #GstClockID that expired
 * @user_data: user data passed in the async_wait call
 *
 * The function prototype of the callback.
 *
 * Returns: %TRUE or %FALSE (currently unused)
 */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
212
typedef gboolean	(*GstClockCallback)	(GstClock *clock, GstClockTime time,
213
						 GstClockID id, gpointer user_data);
214 215 216 217 218 219 220 221 222 223 224 225
/**
 * GstClockReturn:
 * @GST_CLOCK_OK: The operation succeded.
 * @GST_CLOCK_EARLY: The operation was scheduled too late.
 * @GST_CLOCK_UNSCHEDULED: The clockID was unscheduled
 * @GST_CLOCK_BUSY: The ClockID is busy
 * @GST_CLOCK_BADTIME: A bad time was provided to a function.
 * @GST_CLOCK_ERROR: An error occured
 * @GST_CLOCK_UNSUPPORTED: Operation is not supported
 *
 * The return value of a clock operation.
 */
226 227 228
typedef enum
{
  GST_CLOCK_OK		=  0,
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
229
  GST_CLOCK_EARLY	=  1,
230 231
  GST_CLOCK_UNSCHEDULED	=  2,
  GST_CLOCK_BUSY	=  3,
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
232 233
  GST_CLOCK_BADTIME	=  4,
  GST_CLOCK_ERROR	=  5,
234 235
  GST_CLOCK_UNSUPPORTED	=  6,
} GstClockReturn;
236

237 238 239 240 241 242 243
/**
 * GstClockEntryType:
 * @GST_CLOCK_ENTRY_SINGLE: a single shot timeout
 * @GST_CLOCK_ENTRY_PERIODIC: a periodic timeout request
 *
 * The type of the clock entry
 */
244
typedef enum {
245
  GST_CLOCK_ENTRY_SINGLE,
246
  GST_CLOCK_ENTRY_PERIODIC
247
} GstClockEntryType;
248

249 250 251 252 253 254
/**
 * GST_CLOCK_ENTRY:
 * @entry: the entry to cast
 *
 * Cast to a clock entry
 */
255
#define GST_CLOCK_ENTRY(entry)		((GstClockEntry *)(entry))
256 257 258 259 260 261
/**
 * GST_CLOCK_ENTRY_CLOCK:
 * @entry: the entry to query
 *
 * Get the owner clock of the entry
 */
262
#define GST_CLOCK_ENTRY_CLOCK(entry)	((entry)->clock)
263 264 265 266 267 268
/**
 * GST_CLOCK_ENTRY_TYPE:
 * @entry: the entry to query
 *
 * Get the type of the clock entry
 */
269
#define GST_CLOCK_ENTRY_TYPE(entry)	((entry)->type)
270 271 272 273 274 275
/**
 * GST_CLOCK_ENTRY_TIME:
 * @entry: the entry to query
 *
 * Get the requested time of this entry
 */
276
#define GST_CLOCK_ENTRY_TIME(entry)	((entry)->time)
277 278 279 280 281 282
/**
 * GST_CLOCK_ENTRY_INTERVAL:
 * @entry: the entry to query
 *
 * Get the interval of this periodic entry
 */
283
#define GST_CLOCK_ENTRY_INTERVAL(entry)	((entry)->interval)
284 285 286 287 288 289
/**
 * GST_CLOCK_ENTRY_STATUS:
 * @entry: the entry to query
 *
 * The status of the entry
 */
290 291
#define GST_CLOCK_ENTRY_STATUS(entry)	((entry)->status)

292 293 294 295 296 297 298
/**
 * GstClockEntry:
 * @refcount: reference counter (read-only)
 *
 * All pending timeouts or periodic notifies are converted into
 * an entry.
 */
299
struct _GstClockEntry {
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
300
  gint			refcount;
301
  /*< protected >*/
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
302 303 304 305 306 307
  GstClock		*clock;
  GstClockEntryType	 type;
  GstClockTime		 time;
  GstClockTime		 interval;
  GstClockReturn	 status;
  GstClockCallback	 func;
308
  gpointer		 user_data;
309
};
310

311 312
/**
 * GstClockFlags:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
313 314 315 316 317
 * @GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC: clock can do a single sync timeout request
 * @GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC: clock can do a single async timeout request
 * @GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC: clock can do sync periodic timeout requests
 * @GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC: clock can do async periodic timeout callbacks
 * @GST_CLOCK_FLAG_CAN_SET_RESOLUTION: clock's resolution can be changed
318
 * @GST_CLOCK_FLAG_CAN_SET_MASTER: clock can be slaved to a master clock
319
 * @GST_CLOCK_FLAG_LAST: subclasses can add additional flags starting from this flag
320 321 322 323
 *
 * The capabilities of this clock
 */
typedef enum {
324 325 326 327 328
  GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC     = (GST_OBJECT_FLAG_LAST << 0),
  GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC    = (GST_OBJECT_FLAG_LAST << 1),
  GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC   = (GST_OBJECT_FLAG_LAST << 2),
  GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC  = (GST_OBJECT_FLAG_LAST << 3),
  GST_CLOCK_FLAG_CAN_SET_RESOLUTION     = (GST_OBJECT_FLAG_LAST << 4),
329
  GST_CLOCK_FLAG_CAN_SET_MASTER         = (GST_OBJECT_FLAG_LAST << 5),
330 331
  /* padding */
  GST_CLOCK_FLAG_LAST		        = (GST_OBJECT_FLAG_LAST << 8),
332
} GstClockFlags;
333

334 335
/**
 * GST_CLOCK_FLAGS:
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
336
 * @clock: the clock to query
337
 *
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
338
 * Gets the #GstClockFlags clock flags.
339
 */
340 341
#define GST_CLOCK_FLAGS(clock)  (GST_CLOCK(clock)->flags)

Wim Taymans's avatar
Wim Taymans committed
342 343 344 345 346 347 348
/**
 * GST_CLOCK_COND:
 * @clock: the clock to query
 *
 * Gets the #GCond that gets signaled when the entries of the clock
 * changed.
 */
349
#define GST_CLOCK_COND(clock)            (GST_CLOCK_CAST(clock)->entries_changed)
Wim Taymans's avatar
Wim Taymans committed
350 351 352 353 354 355
/**
 * GST_CLOCK_WAIT:
 * @clock: the clock to wait on
 *
 * Wait on the clock until the entries changed.
 */
356
#define GST_CLOCK_WAIT(clock)            g_cond_wait(GST_CLOCK_COND(clock),GST_OBJECT_GET_LOCK(clock))
Wim Taymans's avatar
Wim Taymans committed
357 358 359 360 361 362 363 364
/**
 * GST_CLOCK_TIMED_WAIT:
 * @clock: the clock to wait on
 * @tv: a GTimeVal to wait.
 *
 * Wait on the clock until the entries changed or the specified timeout
 * occured. 
 */
365
#define GST_CLOCK_TIMED_WAIT(clock,tv)   g_cond_timed_wait(GST_CLOCK_COND(clock),GST_OBJECT_GET_LOCK(clock),tv)
Wim Taymans's avatar
Wim Taymans committed
366 367 368 369 370 371
/**
 * GST_CLOCK_BROADCAST:
 * @clock: the clock to broadcast
 *
 * Signal that the entries in the clock have changed.
 */
372
#define GST_CLOCK_BROADCAST(clock)       g_cond_broadcast(GST_CLOCK_COND(clock))
373

Wim Taymans's avatar
Wim Taymans committed
374 375 376 377 378 379 380
/**
 * GstClock:
 * @flags: The flags specifying the capabilities of the clock.
 *
 * GstClock base structure. The values of this structure are
 * protected for subclasses, use the methods to use the #GstClock.
 */
381
struct _GstClock {
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
382
  GstObject	 object;
383

384 385
  GMutex	*slave_lock; /* order: SLAVE_LOCK, OBJECT_LOCK */

386
  /*< protected >*/ /* with LOCK */
387 388
  GstClockTime	 internal_calibration; 
  GstClockTime	 external_calibration;
389 390
  GstClockTime	 rate_numerator;
  GstClockTime	 rate_denominator;
391
  GstClockTime	 last_time;
392
  GList		*entries;
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
393
  GCond		*entries_changed;
394

395
  /*< private >*/ /* with LOCK */
396
  GstClockTime	 resolution;
397 398
  gboolean	 stats;

399
  /* for master/slave clocks */
400
  GstClock      *master;
401 402

  /* with SLAVE_LOCK */
403 404 405 406 407 408 409
  gboolean       filling;
  gint           window_size;
  gint           window_threshold;
  gint           time_index;
  GstClockTime   timeout;
  GstClockTime  *times;
  GstClockID     clockid;
410

411
  /*< private >*/
412
  GstClockTime	 _gst_reserved[GST_PADDING];
Wim Taymans's avatar
Wim Taymans committed
413 414
};

415 416
struct _GstClockClass {
  GstObjectClass        parent_class;
417

418
  /*< protected >*/
419
  /* vtable */
420 421 422 423
  GstClockTime          (*change_resolution)    (GstClock *clock,
                                                 GstClockTime old_resolution,
						 GstClockTime new_resolution);
  GstClockTime          (*get_resolution)       (GstClock *clock);
424

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
425
  GstClockTime		(*get_internal_time)	(GstClock *clock);
426

427
  /* waiting on an ID */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
428
  GstClockReturn        (*wait)			(GstClock *clock, GstClockEntry *entry);
429
  GstClockReturn        (*wait_async)           (GstClock *clock, GstClockEntry *entry);
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
430 431
  void                  (*unschedule)		(GstClock *clock, GstClockEntry *entry);

432
  /*< private >*/
433
  gpointer _gst_reserved[GST_PADDING];
434 435
};

Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
436
GType			gst_clock_get_type		(void);
437

438 439 440
GstClockTime		gst_clock_set_resolution	(GstClock *clock,
                                                         GstClockTime resolution);
GstClockTime		gst_clock_get_resolution	(GstClock *clock);
441

442
GstClockTime		gst_clock_get_time		(GstClock *clock);
443
void			gst_clock_set_calibration	(GstClock *clock, GstClockTime internal,
444 445 446
                                                         GstClockTime external,
                                                         GstClockTime rate_num,
                                                         GstClockTime rate_denom);
447
void			gst_clock_get_calibration	(GstClock *clock, GstClockTime *internal,
448 449 450 451
                                                         GstClockTime *external,
                                                         GstClockTime *rate_num,
                                                         GstClockTime *rate_denom);

452
/* master/slave clocks */
453
gboolean		gst_clock_set_master		(GstClock *clock, GstClock *master);
454
GstClock*		gst_clock_get_master		(GstClock *clock);
455 456 457
gboolean		gst_clock_add_observation       (GstClock *clock, GstClockTime slave, 
							 GstClockTime master, gdouble *r_squared);

458

459
/* getting and adjusting internal time */
460
GstClockTime		gst_clock_get_internal_time	(GstClock *clock);
461
GstClockTime		gst_clock_adjust_unlocked	(GstClock *clock, GstClockTime internal);
462

463

464
/* creating IDs that can be used to get notifications */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
465 466 467
GstClockID		gst_clock_new_single_shot_id	(GstClock *clock,
							 GstClockTime time);
GstClockID		gst_clock_new_periodic_id	(GstClock *clock,
468
							 GstClockTime start_time,
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
469
							 GstClockTime interval);
470

471 472 473 474
/* reference counting */
GstClockID              gst_clock_id_ref                (GstClockID id);
void                    gst_clock_id_unref              (GstClockID id);

475
/* operations on IDs */
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
476
gint			gst_clock_id_compare_func	(gconstpointer id1, gconstpointer id2);
477

478
GstClockTime		gst_clock_id_get_time		(GstClockID id);
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
479
GstClockReturn		gst_clock_id_wait		(GstClockID id,
480
							 GstClockTimeDiff *jitter);
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
481 482
GstClockReturn		gst_clock_id_wait_async		(GstClockID id,
							 GstClockCallback func,
483
							 gpointer user_data);
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
484
void			gst_clock_id_unschedule		(GstClockID id);
Wim Taymans's avatar
Wim Taymans committed
485

486

487
G_END_DECLS
488

Wim Taymans's avatar
Wim Taymans committed
489
#endif /* __GST_CLOCK_H__ */