• Sebastian Dröge's avatar
    gst-libs/gst/audio/audio.h: Use gst_util_uint64_scale() instead of doing the... · 846ddaa5
    Sebastian Dröge authored
    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.
    846ddaa5
audio.h 5.05 KB