check/gst/gstutils.c: More checks.
authorWim Taymans <wim.taymans@gmail.com>
Mon, 28 Nov 2005 16:05:35 +0000 (16:05 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 28 Nov 2005 16:05:35 +0000 (16:05 +0000)
commit870d272630f42029573fa9b43eb32c8a3275500e
treecb8f807f242e859fa22b7ccad1e03648b7e532fe
parentfaa56ab3a8de36c90dbac8b19084fb461f56f5f2
check/gst/gstutils.c: More checks.

Original commit message from CVS:
* check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
More checks.

* gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
(do_linear_regression), (gst_clock_add_observation):
Cleanups.
Release lock when the clock cannot be slaved.
Catch the case where the regression returned an invalid denominator.

* gst/gstutils.c: (gst_util_div128_64_iterate),
(gst_util_div128_64), (gst_util_uint64_scale_int64),
(gst_util_uint64_scale), (gst_util_uint64_scale_int):
Add protentially more performant non-iterative 128/64 divide function
that unfortunatly does not work yet.
Shortcut the trivial 0/X = 0 case.
Remove the warnings on overflow.
ChangeLog
check/gst/gstutils.c
gst/gstclock.c
gst/gstutils.c
tests/check/gst/gstutils.c