gst/gstclock.c: Fix debug of the new clock rate.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 21 May 2008 15:49:21 +0000 (15:49 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 21 May 2008 15:49:21 +0000 (15:49 +0000)
Original commit message from CVS:
* gst/gstclock.c: (gst_clock_set_calibration):
Fix debug of the new clock rate.

ChangeLog
common
gst/gstclock.c

index 10db40d..67f7a9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * gst/gstclock.c: (gst_clock_set_calibration):
+       Fix debug of the new clock rate.
+
 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
 
        * win32/common/libgstbase.def:
diff --git a/common b/common
index e365978..5e77192 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit e365978c480a8fffa4bdb61568fb2cd989d1b197
+Subproject commit 5e771924d59d9ac912237ea466d0c60ad95df5ab
index 5633bc7..74f8e42 100644 (file)
@@ -941,7 +941,7 @@ gst_clock_set_calibration (GstClock * clock, GstClockTime internal, GstClockTime
       "internal %" GST_TIME_FORMAT " external %" GST_TIME_FORMAT " %"
       G_GUINT64_FORMAT "/%" G_GUINT64_FORMAT " = %f", GST_TIME_ARGS (internal),
       GST_TIME_ARGS (external), rate_num, rate_denom,
-      gst_guint64_to_gdouble (rate_num / rate_denom));
+      gst_guint64_to_gdouble (rate_num) / gst_guint64_to_gdouble (rate_denom));
 
   clock->internal_calibration = internal;
   clock->external_calibration = external;