mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +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;
|
GSequenceIter *it;
|
||||||
|
|
||||||
GESTrackElement *trackelement;
|
GESTrackElement *trackelement;
|
||||||
GstClockTime start, end, duration = 0, timeline_duration;
|
GstClockTime start, end, duration = 0, timeline_duration = 0;
|
||||||
|
|
||||||
GESTrackPrivate *priv = track->priv;
|
GESTrackPrivate *priv = track->priv;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue