mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
basesink: Don't shadow variables that are set inside our scope and then used outside our scope
Fixes uninitialized use of these variables.
This commit is contained in:
parent
0b3bd4b954
commit
bfb6844399
1 changed files with 4 additions and 2 deletions
|
@ -3298,11 +3298,13 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
|
|||
}
|
||||
|
||||
if (bclass->prepare || bclass->prepare_list) {
|
||||
gboolean late = FALSE;
|
||||
gboolean do_sync = TRUE, stepped = FALSE, step_end = FALSE, syncable = TRUE;
|
||||
gboolean do_sync = TRUE, stepped = FALSE, syncable = TRUE;
|
||||
GstClockTime sstart, sstop, rstart, rstop, rnext;
|
||||
GstStepInfo *current;
|
||||
|
||||
late = FALSE;
|
||||
step_end = FALSE;
|
||||
|
||||
current = &priv->current_step;
|
||||
syncable =
|
||||
gst_base_sink_get_sync_times (basesink, obj, &sstart, &sstop, &rstart,
|
||||
|
|
Loading…
Reference in a new issue