Ejemplo n.º 1
0
 static IntPtr MergeTags_cb(IntPtr inst, IntPtr start_tags, IntPtr end_tags)
 {
     try {
         TagDemux    __obj = GLib.Object.GetObject(inst, false) as TagDemux;
         Gst.TagList __result;
         __result = __obj.OnMergeTags(start_tags == IntPtr.Zero ? null : (Gst.TagList)GLib.Opaque.GetOpaque(start_tags, typeof(Gst.TagList), false), end_tags == IntPtr.Zero ? null : (Gst.TagList)GLib.Opaque.GetOpaque(end_tags, typeof(Gst.TagList), false));
         return(__result == null ? IntPtr.Zero : __result.OwnedCopy);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Ejemplo n.º 2
0
 static bool IdentifyTag_cb(IntPtr inst, IntPtr buffer, bool start_tag, uint tag_size)
 {
     try {
         TagDemux __obj = GLib.Object.GetObject(inst, false) as TagDemux;
         bool     __result;
         __result = __obj.OnIdentifyTag(buffer == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(buffer, typeof(Gst.Buffer), false), start_tag, tag_size);
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Ejemplo n.º 3
0
 static int ParseTag_cb(IntPtr inst, IntPtr buffer, bool start_tag, uint tag_size, IntPtr tags)
 {
     try {
         TagDemux __obj = GLib.Object.GetObject(inst, false) as TagDemux;
         Gst.Tags.TagDemuxResult __result;
         __result = __obj.OnParseTag(buffer == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(buffer, typeof(Gst.Buffer), false), start_tag, tag_size, tags == IntPtr.Zero ? null : (Gst.TagList)GLib.Opaque.GetOpaque(tags, typeof(Gst.TagList), false));
         return((int)__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }