예제 #1
0
        public static Event NewCustom(Gst.EventType type, Gst.Structure structure)
        {
            structure.Owned = false;
            Event result = new Event(gst_event_new_custom((int)type, structure == null ? IntPtr.Zero : structure.Handle));

            return(result);
        }
예제 #2
0
        public static uint EventTypeToQuark(Gst.EventType type)
        {
            uint raw_ret = gst_event_type_to_quark((int)type);
            uint ret     = raw_ret;

            return(ret);
        }
예제 #3
0
        public static Gst.EventTypeFlags EventTypeGetFlags(Gst.EventType type)
        {
            int raw_ret = gst_event_type_get_flags((int)type);

            Gst.EventTypeFlags ret = (Gst.EventTypeFlags)raw_ret;
            return(ret);
        }
예제 #4
0
        public static string EventTypeGetName(Gst.EventType type)
        {
            IntPtr raw_ret = gst_event_type_get_name((int)type);
            string ret     = GLib.Marshaller.Utf8PtrToString(raw_ret);

            return(ret);
        }