basesink: Initialize jitter to prevent printing an uninitialized variable if waiting for the clock failed

This commit is contained in:
Sebastian Dröge 2010-06-17 13:19:24 +02:00
parent ce0afc2af7
commit a15344515a

View 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;