gst/gstclock.h (GstClock): Add rate and offset properties, preserving ABI stability...
authorAndy Wingo <wingo@pobox.com>
Thu, 17 Nov 2005 11:51:49 +0000 (11:51 +0000)
committerAndy Wingo <wingo@pobox.com>
Thu, 17 Nov 2005 11:51:49 +0000 (11:51 +0000)
commitc557e030a9efd7ed4488fea81d58789011e54675
treee4916600b0f7ffcd8c22b93b537f865f0c02aa96
parent5a303611c2ff9231aa20b6c92b4ae06ddf0f9567
gst/gstclock.h (GstClock): Add rate and offset properties, preserving ABI stability. Add rate/offset accessors. Will ...

Original commit message from CVS:
2005-11-17  Andy Wingo  <wingo@pobox.com>

* gst/gstclock.h (GstClock): Add rate and offset properties,
preserving ABI stability. Add rate/offset accessors. Will file bug
for the freeze break.

* gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
and offset, trying to keep precision and avoiding
underflow/overflow.
(gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
functions. Make gst_clock_set_time_adjust obsolete.
(gst_clock_set_time_adjust): Note that this function is obsolete.
Will file bug soon.

* gst/base/gstbasetransform.h: Make the ABI-stability hack
greppable by using GST_PADDING-1+1.
ChangeLog
gst/base/gstbasetransform.h
gst/gstclock.c
gst/gstclock.h
libs/gst/base/gstbasetransform.h