[Bug 768776] message: fix annotation of message parse API returning objects

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 15 12:12:03 UTC 2016


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
   Target Milestone|git master                  |1.9.2

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
commit 31ef1051100f1c11a038a9dd1c32753eaa8efde3
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Jul 13 15:43:21 2016 +0200

    message: fix annotation of parse_stream_{collection,streams_selected}

    gst_structure_id_get() returns a new reference so the returned object is
    actually (transfer full).

    The unit tests was already unreffing the objects.

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

commit 514beb7d60e90f23c63a02dd2cae1af619d204b0
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Jul 13 15:43:21 2016 +0200

    message: fix annotation of parse_device_{added,removed}

    gst_structure_id_get() returns a new reference so the returned device is
    actually (transfer full).

    The code using this API was already correct but the code example in
    comments was not.

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

commit a3c47a0754bfaaa4ebec94d4ea9e397c923b1cba
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Wed Jul 13 15:45:33 2016 +0200

    tools: fix device leaks in gst-device-monitor

    gst_message_parse_device_{added,removed} is actually returning a new ref
    on the device.

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

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