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
@ -1250,7 +1250,7 @@ execute_next_action (GstValidateScenario * scenario)
|
||||
GstQuery *query;
|
||||
gdouble rate = 1.0;
|
||||
GstValidateAction *act = NULL;
|
||||
gint64 position, duration;
|
||||
gint64 position = GST_CLOCK_TIME_NONE, duration;
|
||||
gboolean has_pos, has_dur;
|
||||
GstValidateActionType *type;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user