[Bug 677916] g-i: MemoryError raised using Gst.DebugMessage()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 12 01:33:06 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677916
  GStreamer | gstreamer (core) | 0.11.x

--- Comment #2 from Ángel Guzmán Maeso (shakaran) <shakaran at gmail.com> 2012-06-12 08:33:01 UTC ---
It is not a object, it seems a record. On gir file:

<record name="DebugMessage" c:type="GstDebugMessage" disguised="1">
      <method name="get" c:identifier="gst_debug_message_get">
        <doc xml:whitespace="preserve">Gets the string representation of a
#GstDebugMessage. This function is used
in debug handlers to extract the message.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">the string representation of a
#GstDebugMessage.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
    </record>

Required as parameter on:

<function name="debug_log_default" c:identifier="gst_debug_log_default">

The parameter:
        <parameter name="message" transfer-ownership="none">
          <doc xml:whitespace="preserve">the message</doc>
          <type name="DebugMessage" c:type="GstDebugMessage*"/>
        </parameter>

And it appears as callback too on:

<callback name="LogFunction" c:type="GstLogFunction">

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