gst-libs/gst/audio/audio.h: Use gst_util_uint64_scale() instead of doing the math...
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 17 Aug 2007 15:24:43 +0000 (15:24 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 17 Aug 2007 15:24:43 +0000 (15:24 +0000)
commit846ddaa5503e4420585d85741b075e81997176ff
tree83473e187a840c5e48e048089d882cfde013836c
parent01d9553d43335b7cde69a47afc6fa510ab3c530c
gst-libs/gst/audio/audio.h: Use gst_util_uint64_scale() instead of doing the math with double for GST_FRAMES_TO_CLOCK...

Original commit message from CVS:
* gst-libs/gst/audio/audio.h:
Use gst_util_uint64_scale() instead of doing the math
with double for GST_FRAMES_TO_CLOCK_TIME() and
GST_CLOCK_TIME_TO_FRAMES(). For large timestamps this
prevents rounding errors. Fixes #467667.
ChangeLog
gst-libs/gst/audio/audio.h