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:
Guillaume Desmottes 2015-05-05 12:46:38 +02:00
parent c08da0041d
commit c2128e45af

View file

@ -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;