mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 06:22:29 +00:00
validate: initialize position
Summary: Fix invalid read when executing without having the actual position. Reviewers: thiblahute Differential Revision: http://phabricator.freedesktop.org/D147
This commit is contained in:
parent
c08da0041d
commit
c2128e45af
1 changed files with 1 additions and 1 deletions
|
@ -1250,7 +1250,7 @@ execute_next_action (GstValidateScenario * scenario)
|
||||||
GstQuery *query;
|
GstQuery *query;
|
||||||
gdouble rate = 1.0;
|
gdouble rate = 1.0;
|
||||||
GstValidateAction *act = NULL;
|
GstValidateAction *act = NULL;
|
||||||
gint64 position, duration;
|
gint64 position = GST_CLOCK_TIME_NONE, duration;
|
||||||
gboolean has_pos, has_dur;
|
gboolean has_pos, has_dur;
|
||||||
GstValidateActionType *type;
|
GstValidateActionType *type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue