projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3bd4b
)
basesink: Don't shadow variables that are set inside our scope and then used outside...
author
Sebastian Dröge
<slomo@circular-chaos.org>
Wed, 24 Jul 2013 09:21:27 +0000
(11:21 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Wed, 24 Jul 2013 09:21:27 +0000
(11:21 +0200)
Fixes uninitialized use of these variables.
libs/gst/base/gstbasesink.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesink.c
b/libs/gst/base/gstbasesink.c
index
cd9380b
..
647e41e
100644
(file)
--- a/
libs/gst/base/gstbasesink.c
+++ b/
libs/gst/base/gstbasesink.c
@@
-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,