mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
basesink: Initialize jitter to prevent printing an uninitialized variable if waiting for the clock failed
This commit is contained in:
parent
ce0afc2af7
commit
a15344515a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue