libs/gst/base/gstbasesink.c: Initialize start and stop times, thanks valgrind.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 7 Apr 2006 15:19:08 +0000 (15:19 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 7 Apr 2006 15:19:08 +0000 (15:19 +0000)
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Initialize start and stop times, thanks valgrind.

ChangeLog
libs/gst/base/gstbasesink.c

index 10f4658874e7b36ded5cab53f1bf1f5f664c01ae..8aabbd9480fffe2a7169e70745dab5b8cdd3960c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-07  Wim Taymans  <wim@fluendo.com>
+
+       * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
+       Initialize start and stop times, thanks valgrind.
+
 2006-04-07  Wim Taymans  <wim@fluendo.com>
 
        * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
index 65e0faea9a15c0a1c2cf3f89f54e1ad9f164dd56..00111c513f43922fdcd122a9e293e51dffd5aafe 100644 (file)
@@ -859,7 +859,7 @@ gst_base_sink_get_sync_times (GstBaseSink * basesink, GstMiniObject * obj,
   GstSegment *segment;
 
   /* start with nothing */
-  sstart = sstop = rstart = rstop = -1;
+  start = stop = sstart = sstop = rstart = rstop = -1;
 
   if (G_UNLIKELY (GST_IS_EVENT (obj))) {
     GstEvent *event = GST_EVENT_CAST (obj);