discoverer: async_timeout_cb: don't clean up timeout_source
discoverer_collect() already does this. So, the second unref triggers an assert.
This commit is contained in:
parent
6146d8c622
commit
6ade19cc15
@ -1992,8 +1992,6 @@ async_timeout_cb (GstDiscoverer * dc)
|
|||||||
dc->priv->processing = FALSE;
|
dc->priv->processing = FALSE;
|
||||||
discoverer_collect (dc);
|
discoverer_collect (dc);
|
||||||
discoverer_cleanup (dc);
|
discoverer_cleanup (dc);
|
||||||
g_source_unref (dc->priv->timeout_source);
|
|
||||||
dc->priv->timeout_source = NULL;
|
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user