public void ParseStreamStatus (out StreamStatusType type, out Gst.Element owner) { if (Type != MessageType.StreamStatus) throw new ArgumentException (); IntPtr raw_ptr; gst_message_parse_stream_status (Handle, out type, out raw_ptr); owner = Gst.GLib.Object.GetObject (raw_ptr, false) as Gst.Element; }
public static Message NewStreamStatus (Gst.Object src, StreamStatusType type, Gst.Element owner) { Message msg = (Message) Gst.MiniObject.GetObject (gst_message_new_stream_status (src.Handle, type, owner.Handle), true); return msg; }
static extern void gst_message_parse_stream_status (IntPtr msg, out StreamStatusType type, out IntPtr owner);
static extern IntPtr gst_message_new_stream_status (IntPtr src, StreamStatusType type, IntPtr owner);