Gst.Element.AddMetadata C# (CSharp) Method

AddMetadata() public method

public AddMetadata ( string key, string value ) : void
key string
value string
return void
        public void AddMetadata(string key, string value)
        {
            IntPtr native_key = GLib.Marshaller.StringToPtrGStrdup (key);
            IntPtr native_value = GLib.Marshaller.StringToPtrGStrdup (value);
            gst_element_class_add_metadata(LookupGType().GetClassPtr (), native_key, native_value);
            GLib.Marshaller.Free (native_key);
            GLib.Marshaller.Free (native_value);
        }