mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
Change NewFromString() methods to FromString() in Caps/Structure for consistence
This commit is contained in:
parent
61f212b6f6
commit
d543e568df
2 changed files with 1 additions and 2 deletions
|
@ -105,7 +105,6 @@
|
|||
<attr path="/api/namespace/boxed[@name='Caps']/field[@name='Type']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/boxed[@name='Caps']/field[@name='Flags']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_from_string']/return-type" name="owned">true</attr>
|
||||
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_from_string']" name="name">NewFromString</attr>
|
||||
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_copy_nth']/return-type" name="owned">true</attr>
|
||||
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_replace']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_make_writable']" name="hidden">1</attr>
|
||||
|
|
|
@ -204,7 +204,7 @@ public string[] Fields {
|
|||
}
|
||||
}
|
||||
|
||||
public static Structure NewFromString (string structure) {
|
||||
public static Structure FromString (string structure) {
|
||||
IntPtr raw_string = GLib.Marshaller.StringToPtrGStrdup (structure);
|
||||
IntPtr raw_ret = gst_structure_from_string (raw_string, IntPtr.Zero);
|
||||
GLib.Marshaller.Free (raw_string);
|
||||
|
|
Loading…
Reference in a new issue