From: Aaron Boxer Date: Mon, 1 Apr 2019 15:10:21 +0000 (-0400) Subject: discoverer: async_timeout_cb: don't clean up timeout_source X-Git-Tag: 1.19.3~511^2~1150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ade19cc15c4cef80c0fb245b50d80c331e36be4;p=platform%2Fupstream%2Fgstreamer.git discoverer: async_timeout_cb: don't clean up timeout_source discoverer_collect() already does this. So, the second unref triggers an assert. --- diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index 633aebe..5d19912 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -1992,8 +1992,6 @@ async_timeout_cb (GstDiscoverer * dc) dc->priv->processing = FALSE; discoverer_collect (dc); discoverer_cleanup (dc); - g_source_unref (dc->priv->timeout_source); - dc->priv->timeout_source = NULL; } return FALSE; }