mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
Fix GObject DllImport
This commit is contained in:
parent
14831575e6
commit
6287025a5f
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ public Element [] Children {
|
||||||
[DllImport ("gstreamer-0.10.dll") ]
|
[DllImport ("gstreamer-0.10.dll") ]
|
||||||
static extern bool gst_bin_add (IntPtr raw, IntPtr element);
|
static extern bool gst_bin_add (IntPtr raw, IntPtr element);
|
||||||
|
|
||||||
[DllImport ("gobject-2.0-0.dll") ]
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
static extern IntPtr g_object_ref (IntPtr raw);
|
static extern IntPtr g_object_ref (IntPtr raw);
|
||||||
|
|
||||||
public bool Add (Gst.Element element) {
|
public bool Add (Gst.Element element) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[DllImport ("gobject-2.0-0.dll") ]
|
[DllImport ("libgobject-2.0-0.dll") ]
|
||||||
static extern IntPtr g_object_ref (IntPtr raw);
|
static extern IntPtr g_object_ref (IntPtr raw);
|
||||||
[DllImport ("gstreamer-0.10.dll") ]
|
[DllImport ("gstreamer-0.10.dll") ]
|
||||||
static extern bool gst_element_add_pad (IntPtr raw, IntPtr pad);
|
static extern bool gst_element_add_pad (IntPtr raw, IntPtr pad);
|
||||||
|
|
Loading…
Reference in a new issue