summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-30 17:16:00 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-30 17:16:00 +0200
commit8152e6b9d6f1b50d214b22c635af48c81e12d80a (patch)
tree340b8a8221614c4356c1e7e0379ee26c6b312d6d
parent15ae032d0a83301bf19a456693a76b9820fb371e (diff)
Remove unused DllImports
-rw-r--r--gstreamer-sharp/Buffer.custom3
-rw-r--r--gstreamer-sharp/Message.custom3
2 files changed, 0 insertions, 6 deletions
diff --git a/gstreamer-sharp/Buffer.custom b/gstreamer-sharp/Buffer.custom
index d69f045..30e72f4 100644
--- a/gstreamer-sharp/Buffer.custom
+++ b/gstreamer-sharp/Buffer.custom
@@ -68,15 +68,12 @@ public byte this [uint index] {
byte **raw_ptr = (byte **) ( ( (byte*) Handle) + data_offset);
* ( (*raw_ptr) + index) = value;
}
}
}
-[DllImport ("gstreamer-0.10.dll") ]
-static extern IntPtr gst_buffer_make_metadata_writable (IntPtr raw);
-
/* FIXME: This is not optimal */
public void MakeMetadataWritable() {
if (IsMetadataWritable)
return;
IntPtr sub = gst_buffer_create_sub (Raw, 0, Size);
diff --git a/gstreamer-sharp/Message.custom b/gstreamer-sharp/Message.custom
index 584bb86..f9a7a2e 100644
--- a/gstreamer-sharp/Message.custom
+++ b/gstreamer-sharp/Message.custom
@@ -710,15 +710,12 @@ public void ParseNewClock (out Gst.Clock clock) {
clock = GLib.Object.GetObject (raw, true) as Gst.Clock;
}
[DllImport ("gstreamer-0.10.dll") ]
static extern IntPtr gst_message_new_application (IntPtr src, IntPtr structure);
-[DllImport ("gstreamer-0.10.dll") ]
-static extern IntPtr gst_structure_copy (IntPtr handle);
-
public static Message NewApplication (Gst.Object src, Gst.Structure structure) {
Message msg = (Message) GLib.Opaque.GetOpaque (gst_message_new_application (src.Handle, (structure != null) ? structure.Handle : IntPtr.Zero), typeof (Message), true);
msg.cached_structure = structure;
structure.FreeNative = false;
return msg;