mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue