gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
authorAndy Wingo <wingo@pobox.com>
Mon, 21 Nov 2005 14:53:34 +0000 (14:53 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 21 Nov 2005 14:53:34 +0000 (14:53 +0000)
Original commit message from CVS:
2005-11-21  Andy Wingo  <wingo@pobox.com>

* gst/gstsegment.c (gst_segment_init): Initialize abs_rate.

ChangeLog
gst/gstsegment.c

index b5e7e70..ff48569 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-21  Andy Wingo  <wingo@pobox.com>
+
+       * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
+
 2005-11-21  Julien MOUTTE  <julien@moutte.net>
 
        * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
index 156c8bf..bae53c1 100644 (file)
@@ -51,6 +51,7 @@ gst_segment_init (GstSegment * segment, GstFormat format)
   g_return_if_fail (segment != NULL);
 
   segment->rate = 1.0;
+  segment->abs_rate = 1.0;
   segment->format = format;
   segment->flags = 0;
   segment->start = 0;