GNOME Bugzilla – Bug 780297
convertframe: Fix async video sample conversion with non-default context
Last modified: 2017-03-20 15:38:40 UTC
The GSource for dealing with timeouts in gst_video_convert_sample_async() might be attached to a non-default context, so we should not be using g_source_remove() on the returned ID. The correct thing to do is to keep a reference to the actual GSource and then call g_source_destroy() on it.
Created attachment 348308 [details] [review] convertframe: Fix async video sample conversion with non-default context
We might want to push this to 1.10 as well.
Yes, also 1.10
The following fix has been pushed: a6742e8 convertframe: Fix async video sample conversion with non-default context
Created attachment 348327 [details] [review] convertframe: Fix async video sample conversion with non-default context The GSource for dealing with timeouts in gst_video_convert_sample_async() might be attached to a non-default context, so we should not be using g_source_remove() on the returned ID. The correct thing to do is to keep a reference to the actual GSource and then call g_source_destroy() on it.