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:
fa36580
)
ges: initialize timeline_duration value
author
Luis de Bethencourt
<luis.bg@samsung.com>
Tue, 10 Feb 2015 10:29:39 +0000
(10:29 +0000)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Tue, 10 Feb 2015 10:29:39 +0000
(10:29 +0000)
If priv->timeline is False the function does not set any value for
timeline_duration before using it in gap_new (). Initialize the value to aviod
unexpected behaviour.
CID #1268405
ges/ges-track.c
patch
|
blob
|
history
diff --git
a/ges/ges-track.c
b/ges/ges-track.c
index
f307358
..
fe1ce00
100644
(file)
--- a/
ges/ges-track.c
+++ b/
ges/ges-track.c
@@
-183,7
+183,7
@@
update_gaps (GESTrack * track)
GSequenceIter *it;
GESTrackElement *trackelement;
- GstClockTime start, end, duration = 0, timeline_duration;
+ GstClockTime start, end, duration = 0, timeline_duration
= 0
;
GESTrackPrivate *priv = track->priv;