[Bug 732589] New: gst_mikey_* not introspection-friendly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 1 15:40:23 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732589
  GStreamer | gst-plugins-base | unspecified

           Summary: gst_mikey_* not introspection-friendly
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: evan at coeus-group.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


GstMIKEYMessage and GstMIKEYPayload are not registered as boxed types.

Payload already has a copy function, so it would be trivial to make it boxed.

Message is a bit more complicated--I think copying would be prohibitively
expensive, so perhaps it could be made reference counting?

Memory management is also a bit tricky since GstMIKEYMessage:payloads
effectively stores unowned references, which have a tendency to end up as
pointers to already freed memory.  Maybe you could switch to GPtrArray with
gst_mikey_payload_free for the free function, and make insert_payload transfer
ownership of the payload?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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