From 6287025a5faf9f21a5f96fbdaed971a1a9bb7f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 30 Apr 2009 21:48:05 +0200 Subject: [PATCH] Fix GObject DllImport --- gstreamer-sharp/Bin.custom | 2 +- gstreamer-sharp/Element.custom | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gstreamer-sharp/Bin.custom b/gstreamer-sharp/Bin.custom index 83b7830e65..b8dc132ce6 100644 --- a/gstreamer-sharp/Bin.custom +++ b/gstreamer-sharp/Bin.custom @@ -26,7 +26,7 @@ public Element [] Children { [DllImport ("gstreamer-0.10.dll") ] 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); public bool Add (Gst.Element element) { diff --git a/gstreamer-sharp/Element.custom b/gstreamer-sharp/Element.custom index 784f4107fd..762b92a8a7 100644 --- a/gstreamer-sharp/Element.custom +++ b/gstreamer-sharp/Element.custom @@ -1,4 +1,4 @@ -[DllImport ("gobject-2.0-0.dll") ] +[DllImport ("libgobject-2.0-0.dll") ] static extern IntPtr g_object_ref (IntPtr raw); [DllImport ("gstreamer-0.10.dll") ] static extern bool gst_element_add_pad (IntPtr raw, IntPtr pad);