basesink: Initialize jitter to prevent printing an uninitialized variable if waiting...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 17 Jun 2010 11:19:24 +0000 (13:19 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 17 Jun 2010 11:20:13 +0000 (13:20 +0200)
libs/gst/base/gstbasesink.c

index 0d97396..acc2db8 100644 (file)
@@ -2233,7 +2233,7 @@ static GstFlowReturn
 gst_base_sink_do_sync (GstBaseSink * basesink, GstPad * pad,
     GstMiniObject * obj, gboolean * late, gboolean * step_end)
 {
-  GstClockTimeDiff jitter;
+  GstClockTimeDiff jitter = 0;
   gboolean syncable;
   GstClockReturn status = GST_CLOCK_OK;
   GstClockTime rstart, rstop, sstart, sstop, stime;