mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
ges: initialize timeline_duration value
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
This commit is contained in:
parent
fa3658053e
commit
7dd8dbab28
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue