Skip to content

Commit

Permalink
basesink: Initialize jitter to prevent printing an uninitialized vari…
Browse files Browse the repository at this point in the history
…able if waiting for the clock failed
  • Loading branch information
Sebastian Dröge committed Jun 17, 2010
1 parent ce0afc2 commit a153445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/gst/base/gstbasesink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a153445

Please sign in to comment.