[Bug 778453] v4l2videodec: Makes singleton caps ref increase on every access

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 10 21:03:57 UTC 2017


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

Juan Pablo Ugarte <juanpablougarte at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #345458|needs-work                  |none
             status|                            |
 Attachment #345458|0                           |1
        is obsolete|                            |

--- Comment #2 from Juan Pablo Ugarte <juanpablougarte at gmail.com> ---
Created attachment 345484
  --> https://bugzilla.gnome.org/attachment.cgi?id=345484&action=edit
Proposed patch v2

I removed the gst_caps_ref() and made sure every call to the api did not unref
it.
Made API thread safe by using g_once_init[enter|leave]
Used GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED so that it does not show up in the
tracer!

-- 
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