validate:scenario: We do not own any ref in GstValidateExecuteAction
And gst_validate_action_set_done might very well unref the last reference to the action
This commit is contained in:
parent
45f3f3d772
commit
a5dab4b378
@ -1123,13 +1123,13 @@ get_position (GstValidateScenario * scenario)
|
||||
static gboolean
|
||||
stop_waiting (GstValidateAction * action)
|
||||
{
|
||||
GstValidateScenarioPrivate *priv = action->scenario->priv;
|
||||
GstValidateScenario *scenario = action->scenario;
|
||||
|
||||
gst_validate_printf (action->scenario, "Stop waiting\n");
|
||||
|
||||
priv->wait_id = 0;
|
||||
scenario->priv->wait_id = 0;
|
||||
gst_validate_action_set_done (action);
|
||||
_add_get_position_source (action->scenario);
|
||||
_add_get_position_source (scenario);
|
||||
|
||||
|
||||
return G_SOURCE_REMOVE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user