<attr path="/api/namespace/boxed[@name='Message']/method[@cname='gst_message_get_type']" name="new_flag">1</attr>
<attr path="/api/namespace/boxed[@name='Message']/field[@name='Timestamp']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Message']/field[@name='Src']" name="hidden">1</attr>
+ <attr path="/api/namespace/boxed[@name='Message']/field[@name='Structure']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Message']/method[@cname='gst_message_type_to_quark']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Message']/method[@cname='gst_message_type_get_name']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Message']/constructor" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Message']/method" name="hidden">1</attr>
- <remove-attr path="/api/namespace/boxed[@name='Message']/method[@cname='gst_message_get_structure']" name="hidden" />
<remove-attr path="/api/namespace/boxed[@name='Message']/method[@cname='gst_message_get_type']" name="hidden" />
<attr path="/api/namespace/enum[@name='MessageType']" name="parent">uint</attr>
}
}
+
+[DllImport ("gstreamer-0.10.dll") ]
+static extern IntPtr gst_message_get_structure (IntPtr raw);
+
+public Gst.Structure Structure {
+ get {
+ IntPtr raw_ret = gst_structure_copy (gst_message_get_structure (Handle));
+ Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
+ return ret;
+ }
+}
+
[DllImport ("gstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_eos (IntPtr src);
public static Structure NewFromString (string structure) {
IntPtr raw_ret = gst_structure_from_string (structure, IntPtr.Zero);
- Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), false);
+ Gst.Structure ret = raw_ret == IntPtr.Zero ? null : (Gst.Structure) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Structure), true);
return ret;
}