2006-05-20 22:35:40 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
[DllImport ("gstreamersharpglue-0.10") ]
|
|
|
|
private extern static IntPtr gstsharp_message_parse_error (IntPtr raw);
|
2006-05-19 19:24:35 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
public void ParseError (out string error) {
|
|
|
|
IntPtr err = gstsharp_message_parse_error (Handle);
|
|
|
|
error = GLib.Marshaller.PtrToStringGFree (err);
|
|
|
|
}
|
2006-08-11 20:53:33 +00:00
|
|
|
|
2009-04-07 09:27:20 +00:00
|
|
|
[DllImport ("gstreamersharpglue-0.10") ]
|
|
|
|
private extern static IntPtr gstsharp_message_error_new();
|
|
|
|
|
|
|
|
public Message (Gst.Object src, string debug) {
|
|
|
|
IntPtr error = gstsharp_message_error_new();
|
|
|
|
Raw = gst_message_new_error (src == null ? IntPtr.Zero : src.Handle, error, GLib.Marshaller.StringToPtrGStrdup (debug));
|
|
|
|
}
|