[Bug 780297] convertframe: Fix async video sample conversion with non-default context

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 20 15:33:09 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=780297

Arun Raghavan <arun at arunraghavan.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #348308|0                           |1
        is obsolete|                            |
 Attachment #348327|none                        |committed
             status|                            |

--- Comment #5 from Arun Raghavan <arun at arunraghavan.net> ---
Created attachment 348327
  --> https://bugzilla.gnome.org/attachment.cgi?id=348327&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list