Gst.Element.SetMetadata C# (CSharp) Method

SetMetadata() public method

public SetMetadata ( string longname, string classification, string description, string author ) : void
longname string
classification string
description string
author string
return void
        public void SetMetadata(string longname, string classification, string description, string author)
        {
            IntPtr native_longname = GLib.Marshaller.StringToPtrGStrdup (longname);
            IntPtr native_classification = GLib.Marshaller.StringToPtrGStrdup (classification);
            IntPtr native_description = GLib.Marshaller.StringToPtrGStrdup (description);
            IntPtr native_author = GLib.Marshaller.StringToPtrGStrdup (author);
            gst_element_class_set_metadata(LookupGType().GetClassPtr (), native_longname, native_classification, native_description, native_author);
            GLib.Marshaller.Free (native_longname);
            GLib.Marshaller.Free (native_classification);
            GLib.Marshaller.Free (native_description);
            GLib.Marshaller.Free (native_author);
        }